Ignores line break %n if message is empty (2.5.43)


Author
Message
Igor
Igor
Junior Member (55 reputation)Junior Member (55 reputation)Junior Member (55 reputation)Junior Member (55 reputation)Junior Member (55 reputation)Junior Member (55 reputation)Junior Member (55 reputation)Junior Member (55 reputation)Junior Member (55 reputation)
Group: Forum Members
Posts: 10, Visits: 16

LogViewPlus Support
LogViewPlus Support
Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)Supreme Being (5.3K reputation)
Group: Moderators
Posts: 1.1K, Visits: 3.7K
Hi Igor,

This is by design.  Parser configurations must describe the all log entries in the log file.  In this case, the log entry does not have a message, but the parser configuration states that it should, so the parsing continues automatically on the next line.

You could try using something like:
%d %p [%t]%m%n


In this case, the space after the ']' token should be picked up as the message.  The disadvantage of this approach is that your messages will have an extra space in them.

Hope that helps,

Toby
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Login

Explore
Messages
Mentions
Search