From f1afcae5217dcc3ee73a1144cd22e3980f145ac1 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Wed, 25 Nov 2020 18:04:24 +0100 Subject: [PATCH] Logging: add "step into" icon on log lines. Since we always read the complete file, we can know the actual row number of a search result. When investigating log files it's often practical to see the context of a message after searching for it. This feature offers the ability to go to the page in question by clicking on a filtered result. --- .../app/views/OPNsense/Diagnostics/log.volt | 28 +++++++++++++++++-- src/opnsense/scripts/systemhealth/queryLog.py | 5 +++- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/src/opnsense/mvc/app/views/OPNsense/Diagnostics/log.volt b/src/opnsense/mvc/app/views/OPNsense/Diagnostics/log.volt index 0e4813884..b816816d8 100644 --- a/src/opnsense/mvc/app/views/OPNsense/Diagnostics/log.volt +++ b/src/opnsense/mvc/app/views/OPNsense/Diagnostics/log.volt @@ -26,16 +26,40 @@