I've seen situations where the application would continue writing to the old file until the service was restarted. Odd but true, and it might explain some of what you're seeing.system("/etc/init.d/syslog restart") == 0 or ...
If you can, check /etc/logrotate.conf or any of the files in /etc/logrotate.d, and you'll probably see where certain services are being restarted following the rotation.
If things get any worse, I'll have to ask you to stop helping me.
In reply to Re: Simple Log Rotate Problem
by shockme
in thread Simple Log Rotate Problem
by monger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |