Switch to next parser when no entry found after x lines

Notes, tips, and other usefull things on how to use LogMX

Moderator: admin

Post Reply
isheedm
Posts: 109
Joined: Wed Sep 12, 2007 2:16 pm

Switch to next parser when no entry found after x lines

Post by isheedm »

I have some debug log messages that sometimes grow over 1000 lines. I would like to set the

Switch to next parser when no entry found after x lines

option to a larger value. Maybe have an editiable dropdown list so I can type in a value?
admin
Site Admin
Posts: 555
Joined: Sun Dec 17, 2006 10:30 pm

Post by admin »

Hello,

OK, it will be fixed for v1.3.2 (should be released in a few weeks).

In the meantime, you can edit this value in the file "config/logmx.properties" of your LogMX directory. The line to edit is "nbLinesToParseBeforeFail=...", but this value will go back to 10 if you go to "Tools" > "Options" and click OK or Apply.

But with such a big value, I advice you to move this Parser at the top of the Parsers list to avoid all previous Parsers to read all these lines (performances issue)

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

Post by admin »

Hello,

Sorry, I forgot to notify you, but LogMX v1.3.2 was released on february 20th: this version includes the feature you suggested.

Xavier
Post Reply