Menu

#16 Rotate t38modem with logrotate (RHEL 6)

v1.0 (example)
open
nobody
log rotate (1)
5
2015-01-20
2015-01-20
mfons
No

Hello,
I dont know if this is the right place to shoot questions.
Anyway, sorry for that, and let me know where may I find some light about this.
We have t38modem logging a lot (-ttt).
Dily we have 6GB files of logs.
We are trying to configure logrotate so we can rotate logs when the grow bigger than 200M.
The config for logrotate is made.
{
size 200M
copytruncate
rotate 300
compress
missingok
maxage 7
}
The problem is that log does not empty.
The gz log file is created, but the log is not emplty we thing because it is in use by t38modem.

The question is, how can we rotate the log without stop the t38modem app?

Thanks a lot.

Best regards,
Mariano.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.