Define log levels for specific package or class names in the log4j2.xml file to get more or less detailed logging from a class or group of classes.
Class or package loggers are defined in the
<AsyncLogger>
name
attribute. For
example, the following line enables cookie logging:
<AsyncLogger name="com.pingidentity.pa.core.interceptor.CookieLoggingInterceptor" level="TRACE" additivity="false" includeLocation="false">
<AppenderRef ref="File"/>
</AsyncLogger>
Note:
If you don't specify a log level for a particular package or class, it inherits the settings for the root logger.
For information on how to configure log levels in the administrative console instead, see Log settings.
To configure the log level for a class or package in the log4j2.xml file: