logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Esther Parrilla-Endrino <eparril...@gmail.com>
Subject Re: How to build simplesocketserver binary file?
Date Wed, 25 Mar 2009 07:55:02 GMT
Hi Curt,

Thanks for your answer.

My problem is that I have several processes writing concurrently in the same
log file and all of them using log4cxx API, as far as I understood the
simplesocketserver binary allowed me to centralize the management of all log
messages avoiding problems with concurrency, my idea was to add a
SocketAppender in my log4cxx.properties file that redirects all log messages
coming from the different applications to the  simplesocketserver binary so
it can manage that and write properly all messages in the same log file.

Now you tell me that in log4cxx version 0.10 thay have dropped the
distribution of this binary file, which is a bad news for me...

Have you got an idea of any other application similar to simplesocketserver
that I couls use for my purposes?
Do you know if is possible to get the source code of the simplesocketserver
binary for me to recompile it with log4cxx 0.10?

Thanks in advance,

Mh

2009/3/25 Curt Arnold <carnold@apache.org>

>
> On Mar 24, 2009, at 10:19 AM, Moley Harey wrote:
>
>  Hi,
>>
>> I have downloaded apache-log4cxx-0.10.0.tar.gz from Apacheś log4cxx web
>> site and built the lib using the commands: configure, make, make install
>>
>> After that the lirbrary has been successfully built but the binary file
>> "simplesocketserver" has not been generated :/
>>
>> How can I get that?
>>
>> Thanks in advance,
>>
>> Mh
>>
>>
>>
>
> In log4cxx 0.10, the binary format for the SocketAppender was changed to be
> compatible with log4j 1.2's, so that Chainsaw and any other application that
> could connect to log4j's SocketAppender.  However, that support is
> write-only, it is fairly simple to write something that log4j can consume,
> but massively complicated to consume anything the log4j might produce.
>  Since there log4cxx was compatible with log4j's binary format and log4j
> provides SocketReceivers, simplesocketserver was dropped.
>
> Also, The log4cxx 0.9.7 wire format was not platform independent, a x86_64
> build could not connect to a x86 build or a little-endian to a big-endian.




-- 
"Wer von seinem Tag nicht zwei Drittel für sich hat, ist ein Sklave." - F.
Nietzsche, Menschliches, Allzumenschliches I, Aph. 283

Mime
View raw message