This is a fork of Apache Commons Logging based on version 1.2 which delegates to the JBoss Log Manager. The reason for the fork is to avoid caching class loaders and get around issues with retrieving class loaders if a security manager is used.
No configuration options are supported.
The LogFactory.setAttribute(String, Object)
is supported however the value
type must be a string. The map will be cleared when the any of the
LogFactory.release()
methods are invoked.
The SimpleLog
and NoOpLog
are available and should work if you use the
implementations directly. However there is not much use in them. They were
added only for possible compatibility issues.
Some of the operations, such as diagnostics logging, are not supported in this implementation.
-
LogFactory.getClassLoader(Class)
-
LogFactory.getContextClassLoader()
-
LogFactory.directGetContextClassLoader()
-
LogFactory.newFactory(String, ClassLoader, ClassLoader)
-
LogFactory.newFactory(String, ClassLoader)
-
LogFactory.isDiagnosticsEnabled()
-
LogFactory.logRawDiagnostic(String)
See the contributing guide.