You can set log levels by modifying either the template or the log configuration file. However, if you only modify the configuration file, any changes you make will be overwritten the next time you run configure. To prevent this, you should make your changes to both the configuration file and the template.
By default, this file is stored in the following location:
For each component, specify the logging level you want to use.
For example, to set the log level for the server:
Where log-level is one of FATAL, ERROR, WARNING, INFO, or DEBUG.
See Table 13–1 for detailed information on each of these logging levels.
Save and close log4j.conf.template.
Repeat the procedure for the configuration file log4j.conf.