----- Original Message -----
From: "Mihai Zsigmond" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, April 19, 2007 3:24 PM
Subject: Re: kannel with newsyslog
Hi Ian,
The equivalent on Fedora is logrotate, but also it doesn't work with
kannel.
I use following trick: copy the log file to some other name and than copy
(not move) a blank file over the log file. If access rights are set
accordingly, kannel will write the next entry in the new file.
For those interested, I can provide a perl script for rotating logs based
on
the above trick. The script can be called from cron for instance.
Best regards,
Mihai Zsigmond
----- Original Message -----
From: "Iain Dooley" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, April 19, 2007 8:17 AM
Subject: kannel with newsyslog
hi all,
freebsd has this thing called newsyslog (not sure what the linux
equivalent is) which rotates your log files when they reach a certain
size. i'm finding that, once a log file has been rotated, the new log
file
is always empty. it would appear that kannel doesn't like the rotation,
perhaps because it keeps the file open rather than opening it everytime?
has anyone else seen this problem before?
cheers
iain