From 0d4abad5e907d08775d94dd5fb76ddf9573beec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 25 Mar 2019 06:49:00 -0400 Subject: [PATCH] Added Debug log level to filtering. --- views/system.tpl | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/views/system.tpl b/views/system.tpl index 7f91e04d8..4ebd8327a 100644 --- a/views/system.tpl +++ b/views/system.tpl @@ -119,6 +119,7 @@ + @@ -487,7 +488,7 @@ icon = 'red bug icon'; break; case 'DEBUG': - icon = 'bug icon'; + icon = 'black bug icon'; } return ''; } @@ -522,11 +523,13 @@ $('.filter_log').removeClass('active'); $(this).addClass('active'); if ( $(this).data('level') === 'INFO') { - table.column( 0 ).search( 'INFO|WARNING|ERROR', true, false).draw(); + table.column( 0 ).search( 'INFO|WARNING|ERROR|DEBUG', true, false).draw(); } else if ( $(this).data('level') === 'WARNING') { - table.column( 0 ).search( 'WARNING|ERROR', true, false ).draw(); + table.column( 0 ).search( 'WARNING|ERROR|DEBUG', true, false ).draw(); } else if ( $(this).data('level') === 'ERROR') { - table.column( 0 ).search( 'ERROR', true, false ).draw(); + table.column( 0 ).search( 'ERROR|DEBUG', true, false ).draw(); + } else if ( $(this).data('level') === 'DEBUG') { + table.column( 0 ).search( 'DEBUG', true, false ).draw(); } else if ( $(this).data('level') === 'ALL') { table.column(0).search('').draw(); }