3
Maintenance and Troubleshooting
Log Files
ShoreTel Communicator for IBM Sametime
Admin Guide
36
Parameters for Sametime Integration Services and CA ShoreTel
DatePattern
<param name="DatePattern" value=".yyyy-MM-dd"/>
DatePattern determines the length of the maximum duration per log file (".yyyy-MM-dd” = daily,
".yyyy-MM" = monthly; ".yyyy-MM-dd-HH" = hourly): when the next day (month, hour) starts, the
current log file is archived and a new log file is started. The day (month, hour) is appended to the name
of the archived backup file:
server.log
server.log.2014-07-22
server.log.2014-07-23
MaxFileSize
<param name="MaxFileSize" value="10MB"/>
MaxFileSize specifies a maximum file size per uncompressed backup file. If the current log file reaches
this limit before the DatePattern duration expires, the current log file is archived and a new log file is
started. A sequential index is appended to the name of the archived backup file in this case:
server.log
server.log.2014-07-22.1
server.log.2014-07-22.2
MaxRollFileCount
MaxRollFileCount specifies the maximum number of backup files to retain. A periodic cleanup process
will count the backup files and remove the oldest backups if the limit has been exceeded.
CompressionMinQueueSize
Log backup files are automatically compressed using gzip. This reduces the file size to about 5-10% of
the original size. In order to provide easier and more immediate access to the latest backup files,
CompressionMinQueueSize can be used to specify the number of (newest) backup files to leave
uncompressed.
For example, these settings:
<param name="MaxFileSize" value="10MB"/>
<param name="MaxRollFileCount" value="5"/>
<param name=" CompressionMinQueueSize" value="2"/>
could result in these log files being retained:
server.log
server.log.2014-07-23.1.gz
server.log.2014-07-23.2.gz
server.log.2014-07-23.3.gz
server.log.2014-07-23.4.gz
server.log.2014-07-24.gz
server.log.2014-07-25.1.gz
server.log.2014-07-25.2
server.log.2014-07-25.3
Terms of Use | Privacy Policy | DMCA Policy
2006-2022 Rsmanuals.com