DX APM -APMIA Infra agent - debug specific extensions
search cancel

DX APM -APMIA Infra agent - debug specific extensions

book

Article ID: 267620

calendar_today

Updated On:

Products

CA Application Performance Management SaaS

Issue/Introduction

Is it possible to activate the log at debug level for a specific extension in the infrastructure agent?

Currently, when activating the debug in the agent, all the extensions generate a log with debug, which makes it unreadable.

Request:

We want to be able to enable debug on each extension level. 

Also request for the Azure Monitor to be able to set debug on the Azure extension even each Azure profile instance level azure 1 , 2, or 3  etc. 

introscope.agent.azure.profiles=azure.1,azure.2

 

Environment

Release : SAAS

Resolution

Unfortunately, the debug level cannot be set on extension level. 

There are a couple of workarounds:

1. To use LogMonitor as below:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/dx-apm-agents/SaaS/infrastructure-agent/log-monitoring.html

 

2. Use Log4J configurations you can direct specific message to desired logs. 

 

 

For example :

 

For redirection of messages like - >  [DEBUG] [IntroscopeAgent.DBMonitor] Schema Name: schema

In the agent properties we can do :


log4j.logger.IntroscopeAgent.DBMonitor=DEBUG, DBMonitor
# add to bundle specific file
log4j.appender.DBMonitor.Apend=true

log4j.appender.DBMonitor.File=../../logs/Introscope-DBMonitor.log