logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Boulay <florian.bou...@gmail.com>
Subject problem using Chainsaw, "found non matching line"
Date Fri, 23 Jul 2010 16:15:21 GMT
Hello,

Since 2 days, I am trying to configure Chainsaw v2 for parsing my log4j log
files, but it always returns "found non matching line...".

Here is my log4j configuration :
<appender name="crm" class="org.apache.log4j.DailyRollingFileAppender">
       ....
        <layout class="org.apache.log4j.PatternLayout">
            <param name="ConversionPattern" value="[%d{dd MMM yyyy
HH:mm:ss,SSS}] [%p] user: [%x] %c | %m%n"/>
        </layout>
</appender>

And my Chainsaw configuration :
<plugin name="logFileReceiver"
class="org.apache.log4j.varia.LogFilePatternReceiver">
        <param name="fileURL" value="file:///c:/app.log" />
        <param name="timestampFormat" value="dd MMM yyyy HH:mm:ss,SSS"/>
        <param name="logFormat" value="[TIMESTAMP] [LEVEL] user: [*] * |
MESSAGE"/>
        <param name="name" value="log app" />
        <param name="tailing" value="true" />
</plugin>

It does not work. I tried a lot of logFormat, but I do not manage to get it
work. Can someone help me ?

Thanks

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message