Log4j implementation of LoggerFactory, which is used to
create Logger and LoggerController instances.
Typically the "requestor" classname is used to identify
loggers. A special "name" is "root", which is used
to specify the root (no-parent) logger.
To configure Log4J, you may specify a file of Log4J
configuration properties. This may be a Log4J XML format file
(ends with ".xml"), or a standard Java Properties (name=value) format file.
If no file is given, the default logging settings are used
(log to the CONSOLE at WARN level).
You may also set any number of explicit System Properties to
over-ride any settings from a file. Log4J configuration properties
are documented in
the log4j manual.
To specify a file of Log4J configuration settings, use the
System Property org.cougaar.util.log.config
(there are several aliases for this property - see below).
This property should be a valid URL, absolute path to a file,
or a filename in $INSTALL/configs/common.
(and if not found, the Default settings are used as if no
no file was given).
To specify a particular Log4J configuration setting,
prefix the standard Log4J setting with log4j.logger OR
org.cougaar.util.log OR
org.cougaar.core.logging .
For example, to turn on logging to the INFO level for this package,
use: org.cougaar.util.log.log4j.category.org.cougaar.util.log.log4j=INFO .
|