Deploying and Managing Apama Applications > Event Correlator Utilities Reference > Replaying an input log to diagnose problems > Rotating the input log
Rotating the input log
While the input log can get rather large, most file systems can handle large input logs with no special action on your part. However, you might encounter one of the following situations:
*You want to archive your input logs.
*Your operating system enforces a limit on file size.
*The input log has become too large.
In these situations, you can rotate the input log. Rotating the input log means that the correlator closes the current input log and starts sending messages to a new input log. You should rotate the input log only when you have a specific need to do so. You do not want to have thousands of input logs in a directory since file systems do not handle this efficiently.
If you plan to rotate input logs, specify the ${ID} tag when you specify the --inputLog option when you start the correlator. For examples, see Command line examples for creating an input log.
To rotate the input log, invoke the engine_management utility and specify the -r rotateInputLog option or the -r rotateReplayLog option. These options are synonyms for each other. The name of the new input log is the same as the name of the closed input log except that the correlator increments the ID portion of the input log filename by 1.
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.