Set the Agent Log Level
The default logging level for most log files is INFO
. Higher logging
levels consume more disk space; you can change the logging level to warn
or
error
to reduce the amount of logging. You can control the logging level
for the Java Agent by changing the value of the "level value" parameter in the
log4j2.xml
file in the versioned logging configuration file directory:
<agent_home>/<version_number>/conf/logging
. A restart of the
application or agent is not required when changing the agent log level. For example, to set
the log level to DEBUG
:
<!-- to control the logging level of the agent log files, use the level attribute below. value="all|trace|debug|info|warn|error"-->
<AsyncLogger name="com.singularity" level="debug" additivity="false">
<AppenderRef ref="Default"/>
<AppenderRef ref="RESTAppender"/>
</AsyncLogger>