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

Thomas Lamprecht t.lamprecht at proxmox.com
Thu May 16 13:26:00 CEST 2019


On 5/15/19 11:38 AM, Dominik Csapak wrote:
> 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',
> 

applied, thanks!



More information about the pmg-devel mailing list