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
Release : SAAS
Unfortunately, the debug level cannot be set on extension level.
There are a couple of workarounds:
1. To use LogMonitor as below:
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