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
-
Open
conf/log4j2.xml
in a text editor. -
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">
-
Modify the
level
attribute to set the desired log level.Valid values are
OFF
,FATAL
,ERROR
,WARN
,INFO
,DEBUG
, andTRACE
. -
Save the modified file.
Result
PingAccess automatically makes the changes effective within 30 seconds.