logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Deboy" <sde...@comotivsystems.com>
Subject RE: Using log4j Appender classes in java.util.logging
Date Thu, 24 Feb 2005 18:01:52 GMT
Chainsaw V2 provides some support for processing of java.util.logging-creatd events in two

- Chainsaw can load files formatted by java.util.logging's XmlFormatter
- Chainsaw can receive events sent by java.util.logging's SocketHandler


-----Original Message-----
From:	Camara Melgosa, Javier [mailto:JCAMARA@softwareag.es]
Sent:	Thu 2/24/2005 9:22 AM
To:	'log4j-dev@logging.apache.org'
Subject:	Using log4j Appender classes in java.util.logging
Hi. I have just created a java.util.logging.Handler class allowing to
plug-in regular Appender classes in the java.util.logging system, so that
applications using this system can benefit from the large number of
Appenders out there. They are plugged in just via standard configuration
java.util.logging files (plus the regular log4j configuration), without
changing the code. In this way we hope to be able to use the standard
java.util.logging facilities, while not risking to lose the superior
abilities of log4j and related tools.
This feature does not help in enhancing the java.util.logging configuration,
but I have also created other classes for this, which allow to create more
than one instance of a java.util.Handler while having each one of them using
different configuration parameters taken from the standard configuration
files. It should work with most standard Handlers, including the one I
created to plug in Appenders, so allowing for more than one Appender to be
plugged in.
I actually am surprised of not having found these features out there. Maybe
I did not search hard enough? Am I wrong, and these very same things have
been already solved long time ago by you or others?
If not, I thought you could be interested on them, although since they
actually promote the usage of java.util.logging and hide log4j behind, this
may not be the case. At any rate, if you are interested in including them in
log4j, just ask me.
Javier Cámara (jcamara@softwareag.es <mailto:jcamara@softwareag.es> )
Software Architect, Software AG España, S.A.
Ronda de la Luna, 22; 28760 Tres Cantos (Spain)
+34 91 807 9400, fax +34 91 807 9447

View raw message