Chapter 8. Configuring Server Logs

This chapter briefly describes server logging. For audit information, see the chapter on Using Audit Logs.

You can configure logging by editing the openidm/conf/logging.properties file in OpenIDM.

The default configuration writes log messages in simple format to openidm/logs/openidm*.log files, rotating files when the size reaches 5 MB, and retaining up to 5 files. Also by default, OpenIDM writes all system and custom log messages to the files.

You can update the configuration to attach loggers to individual packages, setting the log level to one of the following values.

SEVERE (highest value)
WARNING
INFO
CONFIG
FINE
FINER
FINEST (lowest value)

If you use logger functions in your scripts, then you can set the log level for the scripts:

org.forgerock.openidm.script.javascript.JavaScript.level=level

You can override the log level settings per script by using org.forgerock.openidm.script.javascript.JavaScript.script-name.level.