code:open-source:hse-logger:14_tips
04 Tips
Grafana Dashboard
Filtering logs
A quick tip for finding errors in the log files created by the logger is to search the log file using a regular expression.
The expression we use is .(?<!- 0 - )$
. It searches for the lines not ending in -0- which is the normal end of line in the log if no errors have occurred.
In Notepad++ this would look like:
Furthermore, if using it in earnest, this can be mapped to a macro with a shortcut.
code/open-source/hse-logger/14_tips.txt · Last modified: 2024/01/12 09:53 by joerg.hampel