Page created: 27 Jul 2022
|
Page updated: 6 Feb 2023
| 1 min read
7.2 PingAccess Product IT Administrator Administrator Audience Product documentation Content Type Configuration User task Logging
Use the log4j2.xml file to configure the log level for a class or package.
-
Open conf/log4j2.xml in an editor.
Class or package loggers are defined in the
<AsyncLogger>
name
attribute. For example, cookie logging is enabled using the following line.<AsyncLogger name="com.pingidentity.pa.core.interceptor.CookieLoggingInterceptor" level="TRACE" additivity="false" includeLocation="false"> <AppenderRef ref="File"/> </AsyncLogger>
-
Set the
level
value in the<AsyncLogger>
element to one of the following values:OFF
,FATAL
,ERROR
,WARN
,INFO
,DEBUG
,TRACE
.To applyTRACE
level logging for thecom.pingidentity
package, locate the following line,<AsyncLogger name="com.pingidentity" level="DEBUG" additivity="false" includeLocation="false">
and change it to<AsyncLogger name="com.pingidentity" level="TRACE" additivity="false" includeLocation="false">
- Save the file.