I'am using log4cxx 0.10.0 and Chainsaw v2 as a server. On the Chainsaw
using a SocketReceiver and a XMLSocketReceiver. Now I have three
concerning this setup.
1) The events logged by the XMLSocketReceiver are all written to the
This is somehow ugly. Is it possible to set the "Application property"
such that the XML
messages are going to a different tab? I have found only vague
descriptions on setting
this property (even on the name of the key).
Yes the following will do it for the current thread. It is on a per thread basis so needs to be done per thread.
log4cxx::MDC::put( "application", "my application name" );
3) While it was possible to send the "locationInfo" with the
same does not work on the SocketAppender/SocketReceiver pair, although
the C++ code
suggest that the location info is serialized. Any clou here?