How to make a pattern failed is the priority is Unknown


Author
Message
Laurent
Laurent
New Member (15 reputation)New Member (15 reputation)New Member (15 reputation)New Member (15 reputation)New Member (15 reputation)New Member (15 reputation)New Member (15 reputation)New Member (15 reputation)New Member (15 reputation)
Group: Forum Members
Posts: 2, Visits: 7
I am using the LogViewPlus on the Unreal logs and I have setup the following patterns
[%d{yyyy.MM.dd-HH.mm.ss:fff}][%3t]%c: %p: %m%n
[%d{yyyy.MM.dd-HH.mm.ss:fff}][%3t]%c: %m%n


The idea is if the priority is not set for the log line, than consider everything after the Logger to be the message.
In practice when there is not priority and the message contains ": " the the first half of the message is treated as the priority
For example
[2023.02.17-07.06.04:011][  0]LogInit: Display: Engine is initialized. Leaving FEngineLoop::Init()
[2023.02.17-07.06.04:011][ 0]LogLoad: (Engine Initialization) Total time: 38.70 seconds

is parsed as 

I would like the second line to be
17 Feb 2023    7:06:04.011    LogLoad        NONE        (Engine Initialization) Total time: 38.70 seconds


I am guessing the feature I am looking for is: "Enforce exact match for priority"
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Login

Explore
Messages
Mentions
Search