Starting a new log
file
You can request that a
or adapter create a
new log file, often referred to as
rolling over
a log file. Typically, this is done when a log
file becomes quite large. Log files grow indefinitely, though slowly, under
normal conditions.
Most log files are small and rolling over a log file is not necessary.
However, if you need to start a new log file, use the following methods:
- For UNIX systems only, use the stop or roll_log commands.You can repeat the log file roll-over process as many times as you like. If you need to retain log files beyond the limit specified by the SM_BACKUP_FILE_LIMIT environment variable, copy or at least rename the .log.bak files as soon as they are created.Log rolling is managed in a synchronized fashion so that data in multiple logs can be correlated. Thus, when the English log rolls, the non-English log, if it is being produced, will also roll.