[pmg-devel] [PATCH pmg-gui 1/1] use JournalView instead of LogView for syslog

Dominik Csapak d.csapak at proxmox.com
Wed May 15 11:38:20 CEST 2019


and point to the new /journal api

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 js/ServerAdministration.js | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/js/ServerAdministration.js b/js/ServerAdministration.js
index 7237578..e09d38a 100644
--- a/js/ServerAdministration.js
+++ b/js/ServerAdministration.js
@@ -49,11 +49,10 @@ Ext.define('PMG.ServerAdministration', {
 	    nodename: Proxmox.NodeName
 	},
 	{
-	    xtype: 'proxmoxLogView',
+	    xtype: 'proxmoxJournalView',
 	    itemId: 'logs',
 	    title: gettext('Syslog'),
-	    url: "/api2/extjs/nodes/" + Proxmox.NodeName + "/syslog",
-	    log_select_timespan: 1
+	    url: "/api2/extjs/nodes/" + Proxmox.NodeName + "/journal"
 	},
 	{
 	    xtype: 'proxmoxNodeTasks',
-- 
2.11.0




More information about the pmg-devel mailing list