Built-in service that initializes and manages Logging via Log4j.
Oozie Lo4gj default configuration file is
oozie-log4j.properties
.
The file name can be changed by setting the Java System property
oozie.log4j.file
.
The Log4j configuration files must be a properties file.
The Log4j configuration file is first looked in the Oozie configuration directory see {@link ConfigurationService}. If the file is not found there, it is looked in the classpath.
If the Log4j configuration file is loaded from Oozie configuration directory, automatic reloading is enabled.
If the Log4j configuration file is loaded from the classpath, automatic reloading is disabled.
the automatic reloading interval is defined by the Java System property
oozie.log4j.reload
. The default value is 10 seconds.