Log file timestamp - A timestamp
Log file sort criteria - Logfiles sort in order of their creation, based upon the timestamp in their filename.
Log file configurable parameters - Configurable parameters for all log files are these:
•Maximum size of the logfile before it rolls over (MaxFileSize). This parameter resides in log4j.xml and is used to limit the size of an individual log file.
•Maximum total amount of space the logfile can use (MaxTotalSize). This parameter resides in log4j.xml is is used to limit the total size of a set of log files (e.g., all appstorm logs).
Log file “appenders” manage the log file rollover when the MaxFileSize and MaxTotalSize parameters are reached. These parameters can be changed for any log file by using the appstorm.<timestamp>.log appenders at the following directory:
<management_server_install_directory>/JBossandJetty/server/appiq/conf/log4j
.xml
At the log4j.xmldirectory indicated above, change the appender values to the new desired values:
<parem name=”MaxFileSize” value=”100MB”/>
<parem name=”MaxTotalSize” value=”900MB”/>
Example 1 (Log file rollover based on size) - Assume the appstorm.<timestamp>.log file MaxFileSize=100MB and MaxTotalSize=900MB.
•If the size of the current appstorm.<timestamp>.log file exceeds 100MB before the next day starts, a new appstorm.<timestamp>.log file is created.
•If any rollover occurs, and the total size of all appstorm.<timestamp>.log files exceeds 900 MB, the oldest appstorm.<timestamp>.log files are deleted until the total size is below 900 MB.
•Whenever a
Example 2 (Log file rollover based on time) - Assume a new day occurred. The current logfile
****Log File Rollover due to Time****
*****Next Log
The next logfile
****Log Fle ROllover due to Time****
****Previousl Log
HP Storage Essentials SRM 6.0 User Guide 189