Expand my Community achievements bar.

Logs parsing

Avatar

Level 3

I try to use https://code.google.com/p/otroslogviewer/ for CQ error.log parsing. For example here's one line output: 

01.12.2014 00:10:06.593 *INFO* [jackrabbit-pool-2] org.apache.jackrabbit.core.query.lucene.IndexMerger merged 2 documents in 5 ms into _5yx.

Mine pattern parser is:

type=log4j pattern=TIMESTAMP LEVEL [THREAD] CLASS MESSAGE dateFormat=dd.MM.yyyy HH:mm:ss.SSS name=CQ Logs pattern charset=utf-8

The problem is that wildcards are used for _ignoring_ "Note the * - it can be used to ignore a single word or sequence of words in the log file" (according to https://logging.apache.org/log4j/extras/apidocs/org/apache/log4j/receivers/varia/LogFilePatternRecei...)

The result is that LEVEL is not parsed. And I cannot find how to fix it. Any ideas?

If I manually remove wildcards out of a log record it's parsed fine.

Which log viewer are you using? Thank

0 Replies