logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gert Lokhorst <gert.lokho...@planet.nl>
Subject Configuring chainsaw
Date Mon, 06 Mar 2006 16:18:09 GMT
Hi,

I am new to this list so please accept my apologies for asking questions that 
are already in some FAQ that I am not aware of..

My problem is that the logfile I get has a structure where the message is 
spread over multiple lines. I have tried to identify this by using square 
brackets but that does seem to be enough!

Sample message:
[ZZ Core connected to remote services...
host: yyyy13.xxxx.com
port: 8561
repository: zbcd
deployment: Services
]

The configuration file is like:

  <plugin name="LogFileReceiver"
        class="org.apache.log4j.varia.LogFilePatternReceiver">
     <param name="fileURL"
                value="file:///home/chainsaw/chainsaw.log"/>
     <param name="timestampFormat" 
                value="yyyy-MM-dd HH:mm:ss,SSS"/>
     <param name="logFormat" 
       value="TIMESTAMP [LEVEL] LOGGER - CLASS - METHOD [MESSAGE]"/>
     <param name="name" 
                  value="core"/>
     <param name="tailing" 
                  value="true"/>
   </plugin>


Help is appreciated..


cheer,
gert 


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message