APM MQMonitor - replacement strings for log4j values
search cancel

APM MQMonitor - replacement strings for log4j values

book

Article ID: 268107

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

What are the replacement strings for the following that we had set in our previous 21.x mqmonitor agents:

log4j.logger.IntroscopeAgent=DEBUG, logfile
log4j.logger.IntroscopeAgent.MQMonitor=WARN, console, logfile
log4j.logger.IntroscopeAgent.WilyTransactionStructure=WARN, console, logfile
log4j.logger.IntroscopeAgent.ArfTransport=FATAL, console, logfile
log4j.logger.IntroscopeAgent.CollectorAgent=FATAL, console, logfile

Environment

DX APM MQMonitor 23.3 and onwards.

Resolution

1)  replace "log4j.logger" with "introscope.agent.log.level".
2) You do not need to specify "console, logfile". That is taken care of in "agent-logback-configuration.xml" at same location.  root is set to INFO by default. (introscope.agent.log.level.root=INFO)
 
3) Logging level properties for specific child module loggers:

By default modules inherit logging level from parent or root logger. This property allows overriding logging levels for specific modules and their children. Same values are supported as by root logger. 
Changing this property does not require restarting the Monitored Process. e.g. introscope.agent.log.level.IntroscopeAgent.Agent=DEBUG
 
Below should be the new converted properties:
 
introscope.agent.log.level.IntroscopeAgent=DEBUG
introscope.agent.log.level.IntroscopeAgent.MQMonitor=WARN
introscope.agent.log.level.IntroscopeAgent.WilyTransactionStructure=WARN
introscope.agent.log.level.IntroscopeAgent.ArfTransport=FATAL
introscope.agent.log.level.IntroscopeAgent.CollectorAgent=FATAL
 

Additional Information

IBM WebSphere MQ