There have been discussions but little action and ASN.1 has not been
considered. Having log4j dependent on an incubator project isn't
acceptable, so that project isn't much help. I'd speculate that
custom Java serialization can be used to get a log4j wire format that
is stable, efficient and could be supported by other languages with a
lot less effort than introducing ASN.1 and lack of effort has been the
primary reason that the SocketAppender's are not compatible.
On Dec 27, 2004, at 4:26 AM, Sluis, Minto van der wrote:
Hi,
As I understand is it curently not possible to exchange log message
between log4j and log4cxx using the SocketAppender. Also it seems
like XMLSocketAppender can do the trick. However XML is not very
efficient (performance wise) for getting data across.
I was wondering if anyone is investigation the possibility of using
ASN.1 for this purpose. Apache also has project to this aid
http://incubator.apache.org/directory/subprojects/snickers/
In short ASN.1 is sort of a binary XML. ASN compilers exists
for various languages. I think it would make a good candidate
for an efficient log message transfer between the various
languages being used.
regards,
Minto van der Sluis