You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Gert Lokhorst <ge...@planet.nl> on 2006/03/06 17:18:09 UTC

Configuring chainsaw

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