APM 10.8 em.log size keeps increasing
search cancel

APM 10.8 em.log size keeps increasing

book

Article ID: 388444

calendar_today

Updated On:

Products

CA Application Performance Management (APM / Wily / Introscope)

Issue/Introduction

We have currently very big em.log files, what are the options to reduce the size?

Environment

APM 10.8* (Unix platform)

Resolution

OPTION 1) disable the console ouput to go into the em.log
 
1. Open the <EM-HOME>Introscope_Enterprise_Manager.lax
2. Locate the line: lax.stdout.redirect=console
3. unset it
lax.stdout.redirect=
 
4. restart the EM  : ./EMCtrl.sh stop and then start
 
OPTION 2) create a unix cron job to manually empty the file
 
1. Copy and truncate command sequence i..e.
 
  cp -p em.log em_bak.log ; truncate -s0 em.log

This does not require a restart of EM.
2. Work with your team to automate for this line to run for example every week, day , accordingly to your requirements.

Additional Information