This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Knowledge Base
- :
- How to automate the debug log rollover using lmswitch once the log file is reached the size.
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
How to automate the debug log rollover using lmswitch once the log file is reached the size.
How to automate the debug log rollover using lmswitch once the log file is reached the size.
Question
The AUTO_ROLLOVER option enables the auto rollover of the debug log file, which automatically performs the rollover functionality of the debug log file when the debug log file size crosses the specified value. The default value would be 512MB. The automatic rollover will always be performed at midnight. In case we want to rollover the debug logfile once the log reaches the specified size then how we can rollover the log using lmswitch.
Answer
There are two script files which will help to rollover the debug log once the size of the file has reached to a specific size limit (no need to wait until midnight)
The attached AUTO_ROLLOVER_with_lmswitch.zip has the following files.
- windows_Rollover.bat -> which is windows rollover batch file
- Windows_Rollover_HowTo.docx -> Readme for the windows_Rollover.bat file
- rollover.sh -> Linux script file which has the read me as well.
Both the scripts can be scheduled using task or corn job to automate.
More Information
No ratings