tags 440510 pending
thanks
I was going to code something better (perhaps using the python logging
module's RotatingFileHandler), but I decided simplicity was best. I'm
now using a modified logrotate config file from the one Sebastian
posted that doesn't require restarting the client (through the use of
logrotate's copytruncate option). Here it is if you want to try it out
before I upload the next version:
/var/log/debtorrent/apt-access.log
/var/log/debtorrent/debtorrent-client.log
/var/log/debtorrent/debtorrent-tracker.log
/var/log/debtorrent/tracker-access.log {
weekly
rotate 7
missingok
notifempty
compress
copytruncate
delaycompress
}
Thanks,
Cameron
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]