PingAccess

Configuring log levels

Define log levels for specific package or class names to get more or less detailed logging from a class or group of classes.

About this task

If you don’t specify a log level for a particular package or class, it inherits the settings for the root logger.

Steps

  1. Open conf/log4j2.xml in a text editor.

  2. Locate the <AsyncLogger> element for the package or class you want to adjust the logging level for.

    Example:

    <AsyncLogger name="com.pingidentity" level="DEBUG" additivity="false" includeLocation="false">
  3. Modify the level attribute to set the desired log level.

    Valid values are OFF, FATAL, ERROR, WARN, INFO, DEBUG, and TRACE.

  4. Save the modified file.

Result

PingAccess automatically makes the changes effective within 30 seconds.