]
David Lloyd resolved LOGMGR-60.
-------------------------------
Resolution: Duplicate Issue
LoggerFactory is ignored
------------------------
Key: LOGMGR-60
URL:
https://issues.jboss.org/browse/LOGMGR-60
Project: JBoss Log Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 1.0.0.GA
Reporter: Alex Alvarez
Assignee: David Lloyd
When providing a factory to BridgeRepository.getLogger(final String name, final
LoggerFactory factory) the factory is ignored, which leads to ClassCastExceptions up the
chain. The most common workaround seems to be to manipulate the classloader or exclude
the log manager, but this only adds more complexity, and leads to loss of functionality
when overloading the Logger class.
Use this example factory to test:
public static class MyTestLoggerFactory implements LoggerFactory {
public Logger makeNewLoggerInstance(String name) {
return new MyTestLogger(name);
}
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: