Apache Log4cxx  Version 1.3.0
Loading...
Searching...
No Matches
Environment Variables Used by Log4cxx

There are several environment variables that can be set in order to influence how Log4cxx works. They are summarized in the following table:

Environment Variable Usage
LOG4CXX_DEBUG Set to the value 'true' to enable internal debugging of Log4cxx. All output goes to stderr. This can be useful to determine why a configuration file is not loading
log4j.configuratorClass Used to determine what class to use to configure the logging system
LOG4CXX_CONFIGURATOR_CLASS Used to determine what class to use to configure the logging system. Takes precedence over log4j.configuratorClass
log4j.configuration Set the file to load to configure the logging system
LOG4CXX_CONFIGURATION Set the file to load to configure the logging system. Takes precedence over log4j.configuration
LOG4CXX_CONFIGURATION_WATCH_SECONDS Set how often the configuration file should be checked for changes