[pve-devel] [RFC journalreader/common/widget-toolkit/manager] improve syslog tab
Dominik Csapak
d.csapak at proxmox.com
Mon May 13 14:49:17 CEST 2019
this series aims to improve the nodes syslog tab, by changing
journalctl to a slimmer, slightly faster binary called journalreader
the big improvement is that it returns/accepts cursors, making it
possible to get only the entries we need
the name journalreader is nothing i am particularly fond of, so if
someone has a better idea, please tell :)
also the gui panel (JournalView) is very similar to the already existing
LogView, but i found no neat way to combine the two
another thing is the api:
originally i did not want to have a new api call, but i wanted to get
rid of the weird result structure, but found no good way to keep
backwards compatibility
pve-journalreader:
Dominik Csapak (1):
inital commit for journalreader
pve-common:
Dominik Csapak (1):
add Tools::print_journal
src/PVE/Tools.pm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
proxmox-widget-toolkit:
Dominik Csapak (1):
add panel/JournalView
Makefile | 1 +
panel/JournalView.js | 335 +++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 336 insertions(+)
create mode 100644 panel/JournalView.js
pve-manager:
Dominik Csapak (2):
node: add journal api
gui: node: change syslog to JournalView and journal api
PVE/API2/Nodes.pm | 52 +++++++++++++++++++++++++++++++++++++++++++++
www/manager6/node/Config.js | 5 ++---
2 files changed, 54 insertions(+), 3 deletions(-)
--
2.11.0
More information about the pve-devel
mailing list