Cisco Cisco Computer Telephony Integration OS 8.5 開発者ガイド
12-39
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions
Cisco CTI OS Release 7.2(1)
Chapter 12 Helper Classes
LogWrapper Class (.NET and Java Only)
Return Values
None.
GetMaxDaysBeforeExpire (.NET Only)
The GetMaxDaysBeforeExpire method gets the current log file age threshold beyond which the active
log file will be rolled over into a new file regardless of file size.
log file will be rolled over into a new file regardless of file size.
Syntax
int GetMaxDaysBeforeExpire ()
Parameters
None.
Return Values
Current age threshold.
SetMaxNumberFiles
The SetMaxNumberFiles method changes the current number of log files threshold beyond which older
files will begin to be deleted. If the provided value is not greater than zero, the default value of 4 is used.
files will begin to be deleted. If the provided value is not greater than zero, the default value of 4 is used.
Syntax
.NET
:void SetMaxNumberFiles (int maxFiles)
Java:
void SetMaxNumberFiles (int iArchives)
Parameters
maxTraceFiles
New number of files threshold. If 0 is specified, the default value will be used
Return Values
None.
GetMaxNumberFiles (.NET Only)
The GetMaxNumberFiles method gets the current number of log files threshold beyond which older files
will begin to be deleted.
will begin to be deleted.