Options to reduce the size:
- The startup command can be changed so that the output is overwritten after every Enterprise Manager restart.
To do this, change the line from
nohup "$EMCmd" >> $LOGFILE 2>&1 &
nohup "$EMCmd" > $LOGFILE 2>&1 &
- Remove console from log4j logging options
In IntroscopeEnterpriseManager.properties, the majority of logging options log to both console and logfile. If you remove the console option, for example:
you will greatly reduce the amount of data written in em.log, all data which is duplicated in IntroscopeEnterpriseManager.log.
Look for all log4j.logger options in introscopeEnterpriseManager.properties that write to both console and logfile as there are several.Options to stop the file
- Modify the $LOGFILE variable so that the information is written to /dev/null
Either edit the variable:
or modify the startup command in this way:
nohup "$EMCmd" /dev/null 2>&1 &