Rotating correlator log files
Rotating a correlator log file refers to closing a log file being used by a running correlator and opening a new log file to be used instead from that point onwards. This lets you archive log files and avoid log files that are too large to easily view.
Each site should decide on and implement its own correlator log rotation policy. You should consider the following:
How often to rotate log files.
How large a correlator log file can be.
What correlator log file naming conventions to use to organize log files.
There is a lot of useful header information in the main log file being used when the correlator starts. If you need to provide log files to Apama technical support, you should be able to provide the log file that was in use when the correlator started, as well as any other log files that were in use before and when a problem occurred.
Note:
Regularly rotating log files and storing the old ones in a secure location may be important as part of your personal data protection policy. For more information, see
Protecting and erasing data from Apama log files.
To rotate the correlator log file and also rotate any other log file the correlator is using (input log file, EPL log files), see
Rotating all correlator log files.
To rotate only the main correlator log file, see
Rotating specified log files.
Note:
Some people use the term log rolling instead of log rotation.