Package org.apache.log4j.lf5
Class DefaultLF5Configurator
java.lang.Object
org.apache.log4j.lf5.DefaultLF5Configurator
- All Implemented Interfaces:
Configurator
The
DefaultLF5Configurator provides a default
configuration for the LF5Appender.
Note: The preferred method for configuring a LF5Appender
is to use the LF5Manager class. This class ensures
that configuration does not occur multiple times, and improves system
performance. Reconfiguring the monitor multiple times can result in
unexpected behavior.- Author:
- Brent Sprecher
-
Field Summary
Fields inherited from interface org.apache.log4j.spi.Configurator
INHERITED, NULL -
Method Summary
Modifier and TypeMethodDescriptionstatic voidThis method configures theLF5Appenderusing a default configuration file.voiddoConfigure(InputStream inputStream, LoggerRepository repository) This is a dummy method that will throw anIllegalStateExceptionif used.voiddoConfigure(URL configURL, LoggerRepository repository) This is a dummy method that will throw anIllegalStateExceptionif used.
-
Method Details
-
configure
This method configures theLF5Appenderusing a default configuration file. The default configuration file isdefaultconfig.properties .- Throws:
IOException
-
doConfigure
This is a dummy method that will throw anIllegalStateExceptionif used.- Specified by:
doConfigurein interfaceConfigurator- Parameters:
inputStream- The InputStream to parserepository- The hierarchy to operation upon.- Since:
- 1.2.17
-
doConfigure
This is a dummy method that will throw anIllegalStateExceptionif used.- Specified by:
doConfigurein interfaceConfigurator- Parameters:
configURL- The URL to parserepository- The hierarchy to operation upon.
-