Subscribe to forum
Forum
Maxsize parameter
Page: 1
| Author | Post |
|---|---|
|
Peter Platt
|
#1 Thu May 18, 2006 11:22 am
|
| Guest |
If I set maxsize for my connection what happens when this size is reached? Is a new logfile created or is this existing file truncated in some way?
|
|
#2 Thu May 18, 2006 12:03 pm
|
|
|
Administrator
Registered: Sep 2007
Posts: 133
|
Hello Peter,
when the maxsize size has been reached, the current log file is renamed to a backup file and a new log file with the original filename is opened. If the backup file already exists before renaming, it is deleted. This ensures that there will be at most one backup file. For example, if you log to a file named 'log.sil' and the maxsize size is reached, the file 'log.sil' is renamed to 'log_backup.sil' and a new empty 'log.sil' is opened. |
Page: 1