Options to reduce the size:
To do this, change the line from
- The startup command can be changed so that the output is overwritten after every Enterprise Manager restart.
nohup "$EMCmd" >> $LOGFILE 2>&1 &
nohup "$EMCmd" > $LOGFILE 2>&1 &
In IntroscopeEnterpriseManager.properties, the majority of logging options log to both console and logfile. If you remove the console option, for example:
- Remove console from log4j logging options
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
Either edit the variable:
- Modify the $LOGFILE variable so that the information is written to /dev/null
or modify the startup command in this way:
nohup "$EMCmd" /dev/null 2>&1 &