|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.lf5.DefaultLF5Configurator
public class DefaultLF5Configurator
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.
Field Summary |
---|
Fields inherited from interface org.apache.log4j.spi.Configurator |
---|
INHERITED, NULL |
Method Summary | |
---|---|
static void |
configure()
This method configures the LF5Appender using a
default configuration file. |
void |
doConfigure(InputStream inputStream,
LoggerRepository repository)
This is a dummy method that will throw an IllegalStateException if used. |
void |
doConfigure(URL configURL,
LoggerRepository repository)
This is a dummy method that will throw an IllegalStateException if used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void configure() throws IOException
LF5Appender
using a
default configuration file. The default configuration file is
IOException
public void doConfigure(InputStream inputStream, LoggerRepository repository)
IllegalStateException
if used.
doConfigure
in interface Configurator
inputStream
- The InputStream to parserepository
- The hierarchy to operation upon.public void doConfigure(URL configURL, LoggerRepository repository)
IllegalStateException
if used.
doConfigure
in interface Configurator
configURL
- The URL to parserepository
- The hierarchy to operation upon.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |