Uses of Class
org.apache.commons.logging.LogConfigurationException
Packages that use LogConfigurationException
Package
Description
Simple wrapper API around multiple logging APIs.
Concrete implementations of commons-logging wrapper APIs.
-
Uses of LogConfigurationException in org.apache.commons.logging
Methods in org.apache.commons.logging that throw LogConfigurationExceptionModifier and TypeMethodDescriptionprotected static ClassLoader
LogFactory.directGetContextClassLoader()
Gets the thread context class loader if available; otherwise return null.protected static ClassLoader
LogFactory.getContextClassLoader()
Gets the current context class loader.private static ClassLoader
LogFactory.getContextClassLoaderInternal()
CallsLogFactory.directGetContextClassLoader()
under the control of an AccessController class.static LogFactory
LogFactory.getFactory()
Constructs (if necessary) and return aLogFactory
instance, using the following ordered lookup procedure to determine the name of the implementation class to be loaded.abstract Log
LogFactory.getInstance
(Class<?> clazz) Gets a Log for the given class.abstract Log
LogFactory.getInstance
(String name) Gets a (possibly new)Log
instance, using the factory's current set of configuration attributes.static Log
Gets a named logger, without the application having to care about factories.static Log
Gets a named logger, without the application having to care about factories.protected static LogFactory
LogFactory.newFactory
(String factoryClass, ClassLoader classLoader, ClassLoader contextClassLoader) Gets a new instance of the specifiedLogFactory
implementation class, loaded by the specified class loader. -
Uses of LogConfigurationException in org.apache.commons.logging.impl
Methods in org.apache.commons.logging.impl that throw LogConfigurationExceptionModifier and TypeMethodDescriptionprivate Log
LogFactoryImpl.createLogFromClass
(String logAdapterClassName, String logCategory, boolean affectState) Attempts to load the given class, find a suitable constructor, and instantiate an instance of Log.private Log
LogFactoryImpl.discoverLogImplementation
(String logCategory) Attempts to create a Log instance for the given category name.private ClassLoader
LogFactoryImpl.getBaseClassLoader()
Gets the class loader from which we should try to load the logging adapter classes.protected static ClassLoader
LogFactoryImpl.getContextClassLoader()
Gets the context ClassLoader.private static ClassLoader
LogFactoryImpl.getContextClassLoaderInternal()
Calls LogFactory.directGetContextClassLoader under the control of an AccessController class.LogFactoryImpl.getInstance
(Class<?> clazz) Convenience method to derive a name from the specified class and callgetInstance(String)
with it.LogFactoryImpl.getInstance
(String name) Construct (if necessary) and return aLog
instance, using the factory's current set of configuration attributes.Slf4jLogFactory.getInstance
(Class<?> clazz) protected Constructor
<?> LogFactoryImpl.getLogConstructor()
Deprecated.Never invoked by this class; subclasses should not assume it will be.private void
LogFactoryImpl.handleFlawedHierarchy
(ClassLoader badClassLoader, Class<?> badClass) Report a problem loading the log adapter, then either return (if the situation is considered recoverable) or throw a LogConfigurationException.protected Log
LogFactoryImpl.newInstance
(String name) Create and return a newLog
instance for the specified name.