Filter non-relevant line in log displayed on webadmin

This commit is contained in:
Alexandre Aubin 2020-05-03 05:09:14 +02:00
parent c29093377f
commit dc81cdbb0c

View file

@ -129,7 +129,7 @@
app.get(/\#\/tools\/logs\/(.*)(\?number=(\d+))?/, function (c) {
var params = "?path=" + c.params["splat"][0];
var number = (c.params["number"])?c.params["number"]:50;
params += "&number=" + number;
params += "&filter_irrelevant&number=" + number;
c.api('GET', "/logs/display" + params, {}, function(log) {
if ('metadata' in log) {