Logrotation
Hi there,
I have successfully implemented logrotation using VBScript for the logs created by applications that run in my live environment.
Recently while incorporating the same methodology, I found that the Application that populates the logs called 3csyslog keeps doesn't release the log file for rotating it. So I had to
1) kill the app (3csyslog)
2) rotate the log
3) restart the app (3csyslog)
While doing the third step using wsh object, the script does not lose control until the 3csyslog being stopped/killed the next time. I can't have this wait for so long, as the rotation is scheduled to happen either once in a day or twice in a day, depending on the log size.
Is there a better way of doing this?
Can anyone show some light on this?
Thanks for any kind of help from there.
Cheers!
-Vijay G
__________________
- Vijay G
|