> Where can i find an example, of using chainsaw app?????
> I am using xml config and output.  Ceki's book doesn't mention much on
> chainsaw to view XML logs.  I just want to see how it would look etc..

Hi Michael,

Here's a property file for the app that I want to remote via logs via
chainsaw:

# This logger catches everything else that is getting logged.
log4j.rootCategory=DEBUG, ChainSaw

log4j.appender.ChainSaw=org.apache.log4j.net.SocketAppender
log4j.appender.ChainSaw.RemoteHost=localhost
log4j.appender.ChainSaw.Port=4445
log4j.appender.ChainSaw.LocationInfo=true
log4j.appender.ChainSaw.ReconnectionDelay=5000

[end property file]

I don't think a layout is required (might even be the cause of the issue).

When chainsaw starts up, it will start listening on a default port of 4445,
and if the SocketAppender on the remote side doesn't immediately connect to
Chainsaw it will give up forever without the ReconnectionDelay parameter
setting.

If this doesn't work, try starting Chainsaw using "java" rather than "javaw"
to see any Chainsaw specific log outputs about connections etc.

Hope this helps.

cheers,

Paul Smith

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to