Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
12-55
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
 
Chapter 12      Helper Classes
LogWrapper Class (.NET and Java Only)
SetMaxDaysBeforeExpire
The SetMaxDaysBeforeExpire method changes the current log file age threshold 
beyond which the active log file will be rolled over into a new file regardless of 
file size.
Syntax
Java
:void SetMaxDaysBeforeExpire (int iExpires)
.NET
:void SetMaxDaysBeforeExpire (int maxDaysUntilExpiration)
Parameters
maxDaysUntilExpiration
New age threshold. If value is not greater than zero, the default value of 1 is 
used.
Return Values
None.
ProcessConfigFile
The ProcessConfigFile method opens the default config file (TraceConfig.cfg) in 
the parent directory and updates LogWrapper trace settings with data from the 
config file.
Syntax
boolean ProcessConfigFile()
Parameters
None.