Commit Graph

4 Commits

Author SHA1 Message Date
Dominik Csapak
7f9a65672a reduce syslog api calls
do not poll the syslog api call multiple times simultaneously,
since it can be very costly, depending on the journal size

with this, there is always only one per client

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-30 13:28:00 +00:00
Dominik Csapak
65bb3b678f rework panel/LogView
use the view, viewmodel, controller style code, which makes the logic
much more understandable

this adds two features to it, namely a viewBuffer range, which controls
the distance to the end of the data on which the panel loads the next data
and an optional failCallback, which will be used for the cephlog

this also fixes #2151

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2019-04-02 12:52:05 +02:00
Dominik Csapak
cf4ecb2bfe check earlier if the logview is destroyed
this is a port from pve-manager commit:
bde1efbf66cf8794d99708b41d92b2106c44f192

which fixes a problem with destroying the logview in extjs 6.2
2018-01-11 14:48:13 +01:00
Dietmar Maurer
de2e10b511 add log viewer class
Copied from pve-manager
2017-01-31 11:58:53 +01:00