LogViewPlus Support

Disable Parser

https://www.logviewplus.com/forum/Topic1990.aspx

By IchoTolot - 1 Jan 2024

Hello everyone,

Is there a way to disable the parser?
Especially during development, we sometimes output log messages that do not correspond to any structure.
It would therefore be helpful if only the message was displayed.
By LogViewPlus Support - 1 Jan 2024

Hi Icho,

There is no way to completely disable parsing.  At a minimum, all log entries must have a date

Have you tried using the Basic Parser?  This parser requires no configuration, so it is more resilient to change.  If that doesn't help, I may be able to help you come up with a better parser if you could tell me more about the structure of your log entries.

Hope that helps,

Toby
By IchoTolot - 9 Jan 2024

Hello Toby,

thanks for the info.
A date should not be a problem, A date should not be a problem, only everything after that would possibly be without structure.

Best regards
Icho

By LogViewPlus Support - 9 Jan 2024

In that case, I would recommend either the Basic Parser, or the Pattern Parser with a broadly defined format. 

You should be able to configure a Pattern Parser with something like:
%d %m%n
%d: %m%n
%d{yyyy-MM-dd HH:mm:ss.fff} %m%n
 
Basically, just a date (%d) a message (%m) and an end of message (%n).  Defining the date format is useful if you are dealing with large log files and more accurate file parsing - but it is not required.  If there are log messages you would like to parse, consider a Message Parser (which is separate from the log file parse).
By IchoTolot - 9 Jan 2024

Great support, thanks for that :-)
By LogViewPlus Support - 9 Jan 2024

Glad that helped. Smile  If you have any further issues, ping me a few log entries and I should be able to help with the configuration (if needed).