APM Java Agent Excessive logging, new log files created constantly, weird naming

book

Article ID: 210737

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

The Introscope Agent constantly creates new log files, the majority are just named IntroscopeAgent_****.log, and AutoProbe_****.log, while some are renamed to the Agent name specified in the -D Java parameter.  Some are rolled and the names go on and on with the numbering.  It is taking up all the space in a day as new files are created .

Running multiple Java applications that are all being monitored  using the same config file. 

Cause

Incorrect Agent Configuration  

Environment

Release : 10.7.0

Component :Tomcat Agent 

Resolution

If a single Java agent properties file used by many application. properties file location is same for all the  applications then you need to enable below property, "introscope.agent.clonedAgent"  to true. 

 
# Cloned Agent Configuration 
#
# Set to true when running identical copies of an application on the same
# machine. 
#
# Changing this property requires restarting the Monitored Process

introscope.agent.clonedAgent=true
 
Save the IntroscopeAgent.profile
Restart the Application