Why marked as error?

Here developers can talk about how to write a Parser for LogMX

Moderator: admin

Post Reply
column
Posts: 4
Joined: Thu Aug 13, 2015 8:24 pm

Why marked as error?

Post by column » Fri Feb 23, 2018 8:44 am

Hello,

I have very basic parser:

Image

It works fine, but why I have everything in red that I suppose means error?

Image

admin
Site Admin
Posts: 437
Joined: Sun Dec 17, 2006 10:30 pm

Re: Why marked as error?

Post by admin » Sat Feb 24, 2018 12:48 am

Hello,

It's actually not using the "Error" log level, but the log level named "<NO_LEVEL>", which is a built-in log level used in case of missing log level. Looking at your parser, you are, indeed, not using any log level field, hence this behavior. By default, the color and the criticality used for this level "<NO_LEVEL>" are the same as the ones used for "Error", so that if, for any reason, one log entry level couldn't be parsed correctly by a Parser which handles the log level field, this entry won't be hidden and lost in the pile of debug/info entries.

You can change the color/criticality of this level "<NO_LEVEL>" by going in the menu "Tools" > item "Options" > tab "Levels", then double-click on "<NO_LEVEL>".

Hope it helps! Please let me know.

Xavier

Post Reply