Otros Logviewer – Pattern for New Line

489 views Asked by At

I tried to view logs for my application through Ostro log viewer, It seems that I am doing wrong with Ostro pattern.

Log4j property is : log4j.appender.file.layout.ConversionPattern=%t ** %p **%n%d, (%F:%L)%n%m%n

Equivalent Ostro log viewer pattern :

pattern=THREAD ** LEVEL **NEWLINE TIMESTAMP, (FILE:LINE) NEWLINE MESSAGE

I tried with above pattern but When I do “Test parser”, it is showing - 0 events parsed, I am not sure NEWLINE is the right pattern for %n.

Please Help me out what I am doing wrong with above pattern.

0

There are 0 answers