logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michaël CATANZARITI <mca...@apache.org>
Subject Re: Newbie needs help: Chainsaw and Log4Cxx
Date Tue, 29 Jun 2004 08:55:29 GMT
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,

daniel.kasmeroglu@daimlerchrysler.com 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:
	log4cxx-user-subscribe@logging.apache.org

	log4cxx developer mailing list:
	mailto:log4cxx-dev-subscribe@logging.apache.org

Mime
View raw message