ah, I forget about the other bit of code you need. Place this
somewhere before you initialize log4j:
private final Object repositorySelectorGuard = new Object();
final LoggerRepository repositoryExImpl = new
LoggerRepositoryExImpl(LogManager
.getLoggerRepository());
...
I've set things up as specified on the site using the log4j.xml
configuration:
was placed after the appender definitions.
However, I get a warning "Unrecognized Element plugin" when processing
the configuration.
Any thoughts on what may be causing this since the format seems to match
up w
On 24/10/2007, at 1:53 AM, Curt Arnold wrote:
On Oct 23, 2007, at 8:22 AM, David R Robison wrote:
We have an application that uses log4j as its logger. However, it
uses a third-party library that uses java.util.logging. Is it
possible to get the java.util.logging logger to log through log
On Oct 23, 2007, at 8:22 AM, David R Robison wrote:
We have an application that uses log4j as its logger. However, it
uses a third-party library that uses java.util.logging. Is it
possible to get the java.util.logging logger to log through log4j?
Thanks, David Robison
Please look throug
I'm not super familiar with the java.util.logging but
java.util.logging.Handler is roughly equivalent to org.apache.log4j.Appender.
One option would be to create a custom Handler that repackages the
java.util.logging.LogRecord as a org.apache.log4j.LoggingEvent. This seems
like something that would