Hello,

In order to send events to Chainsaw, you have to use the XMLSocketAppender and 
not the SocketAppender, since the binary formats are not compatible

Please, see
http://logging.apache.org/log4cxx/manual/classlog4cxx_1_1net_1_1XMLSocketAppender.html

Regards,

[EMAIL PROTECTED] wrote:



Hi there, I've tried to use Chainsaw v2 together with the SocketAppender of Log4Cxx. As far as I've understood the documentation this should work but it didn't. So I've got several questions on this topic:

   1. Am I wrong ? I mean regarding my assumption that Chainsaw v2
       should work together with Log4Cxx. I don't know how Java
       serialization stores the bytes in a stream but I doubt that the
       implementation of the Log4Cxx generates the proper byte
       stream.

   2. My current implementation allows to connect to Chainsaw v2
       but Chainsaw always says that the streaming header seems to
       be corrupted (Exception !).  That's why I doubt that the stream
       data of Log4Cxx is correct. Is there anything I'm not aware of ?

   3. Is there any alternative way which allows to view my logs
       remotely ? I mean I don't want to write such an application
       unless it's necessary.



Ciao
Kasimir




-- MichaÃl CATANZARITI log4cxx project manager

        log4cxx user mailing list:
        [EMAIL PROTECTED]

        log4cxx developer mailing list:
        mailto:[EMAIL PROTECTED]

Reply via email to