We are using LogMX log viewer to monitor our application logs, using a Regular Expression Parser.
Every time a log message contains the "-" character, LogMX doesn't parse the log event as expected.
For example, the following log event:
[ERROR] | com.nsoft.gmonitor.Controller - File Loader - Error while loading file "C:\GMonitor\prefs.properties - Copy"
Is parsed as:
Emitter:
com.nsoft.gmonitor.Controller - File Loader
Thread:
Error while loading file "C:\GMonitor\prefs.properties
Message:
- Copy"
Instead of:
Emitter:
com.nsoft.gmonitor.Controller
Thread:
File Loader
Message:
Error while loading file "C:\GMonitor\prefs.properties- Copy"
We are using the following regexp:
\[(.*)\] \| (.*) - (.*) - (.*)
Thank you for your help.