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.
Open log4j.conf.template.
By default, this file is stored in the following location:
im_svr_base/lib |
For each component, specify the logging level you want to use.
For example, to set the log level for the server:
log4j.logger.xmppd=log_level |
Where log_level is one of FATAL, ERROR, WARNING, INFO, or DEBUG.
See Table 11–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.