Dialogic
®
System Release 6.1 CompactPCI for Windows
®
Release Update 43
AutoRename Options for Multiple Log Files
This section explains how the AutoRename options work when there are multiple log files
(MaxFiles>1).
Note: When MaxFiles is set greater than 1, the value of the AutoRename registry key is
automatically set to 3. Furthermore, when MaxFiles>1, AutoRename must be set to
either 2 or 3. If MaxFiles>1 and AutoRename is set to either 0 or 1, a warning message
is generated and the value of the AutoRename registry key is reset to 3.
AutoRename=2
Adds a timestamp with the current date and time to the log file name. A file name with
a timestamp has the following format:
filename.MM_DD_at_hh_mm_ss.zzz.log
where:
• filename - the name specified in the LogFile registry entry, stripped of the “.log”
extension. (The “.log” extension is appended to the modified file name.)
• MM - month (01=January, 02=February, 03=March, … 12=December)
• DD - day of the month (01-31)
• hh - hour (24-hour format, 00-23)
• mm - minute (00-59)
• ss - second (00-59)
• zzz - millisecond (000-999)
For example, if DebugAngel is started on February 17 at 3:11:27:357 p.m., with the
LogFile registry setting of DebugAngel.log, the name of the first log file created is:
DebugAngel.02_17_at_15_11_27.357.log
There is no backup of an existing log file. When the file reaches its MaxFileSize, it is
closed and a new log file is created. The new log file will have a timestamp with the
current date and time in its file name. This process is repeated until there are
MaxFiles log files. When MaxFiles+1 log files are created, the oldest log file is
deleted so that no more than MaxFiles log files are saved at any time. See Examples
of Multiple Log Files below.
AutoRename=3
Adds a numeric index (counter) to the log file name. The file name has the following
format:
filenamenn.log
where:
• filename - the name specified in the LogFile registry entry, stripped of the “.log”
extension. (The “.log” extension is appended to the modified file name.)
• nn - a number starting with 00, then incrementing to 01, 02, etc., up to MaxFiles-1
For example, with the LogFile registry setting of DebugAngel.log, the names of the
log files are DebugAngel00.log, DebugAngel01.log, DebugAngel02,log, etc.
There is no backup of an existing log file. When the file reaches its MaxFileSize, it is
closed and a new log file is created. The new log file will have the next sequential
number in its file name. This process is repeated until there are MaxFiles log files.
When MaxFiles+1 log files are created, the oldest log file is deleted so no more than
Comentários a estes Manuais