Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 506
   
12-39
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(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.
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. 
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.