diff --git a/data/interfaces/bookstrap/logs.html b/data/interfaces/bookstrap/logs.html
index a039e2517..19f375081 100644
--- a/data/interfaces/bookstrap/logs.html
+++ b/data/interfaces/bookstrap/logs.html
@@ -24,7 +24,7 @@
${title}
%if lazylibrarian.CONFIG['TOGGLES'] == True:
Toggle: Timestamp
- Level
- %if lazylibrarian.LOGLEVEL >= 2:
+ %if int(lazylibrarian.LOGLEVEL) >= 2:
- Thread
- File
- Method
@@ -68,11 +68,11 @@ ${title}
var oTable = $('#log_table').DataTable({
"bAutoWidth": false,
"aoColumnDefs": [
- %if lazylibrarian.LOGLEVEL < 3:
- { "sWidth": "3%", "aTargets": [ 0,1 ] },
+ %if lazylibrarian.LOGLEVEL >= 2:
+ { "sWidth": "3%", "aTargets": [ 0,1,2,3,4,5 ] },
{ "sWidth": "60%", "aTargets": [ 6 ] }
%else:
- { "sWidth": "3%", "aTargets": [ 0,1,2,3,4,5 ] },
+ { "sWidth": "3%", "aTargets": [ 0,1 ] },
{ "sWidth": "60%", "aTargets": [ 6 ] }
%endif
],
@@ -99,7 +99,7 @@ ${title}
} else {
$('td', nRow).closest('tr').addClass("text-info");
}
- %if lazylibrarian.LOGLEVEL < 3:
+ %if lazylibrarian.LOGLEVEL < 2:
$('td', nRow).eq(2).addClass("hidden");
$('td', nRow).eq(3).addClass("hidden");
$('td', nRow).eq(4).addClass("hidden");
diff --git a/data/interfaces/default/logs.html b/data/interfaces/default/logs.html
index 23bee539e..49a9f167c 100644
--- a/data/interfaces/default/logs.html
+++ b/data/interfaces/default/logs.html
@@ -58,11 +58,11 @@ ${title}
{
"bAutoWidth": false,
"aoColumnDefs": [
- %if lazylibrarian.LOGLEVEL < 3:
- { "sWidth": "3%", "aTargets": [ 0,1 ] },
+ %if lazylibrarian.LOGLEVEL >= 2:
+ { "sWidth": "3%", "aTargets": [ 0,1,2,3,4,5 ] },
{ "sWidth": "60%", "aTargets": [ 6 ] }
%else:
- { "sWidth": "3%", "aTargets": [ 0,1,2,3,4,5 ] },
+ { "sWidth": "3%", "aTargets": [ 0,1 ] },
{ "sWidth": "60%", "aTargets": [ 6 ] }
%endif
],
@@ -94,7 +94,7 @@ ${title}
{
$('td', nRow).eq(0).addClass('hidden');
}
- %if lazylibrarian.LOGLEVEL < 3:
+ %if lazylibrarian.LOGLEVEL < 2:
$('td', nRow).eq(2).addClass("hidden");
$('td', nRow).eq(3).addClass("hidden");
$('td', nRow).eq(4).addClass("hidden");