Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

logrotate for samba logs

Hi, actually i don't know if it is really a bug or not, but i noticed that my log files /var/log/samba/log.ctdb continuously grow up to fill the / filesystem (now 4.7 GB). So i went to look into the /etc/logrotate.d/ctdb config file and realized that there is indicated the wrong path (ctdb instead of samba):

/var/log/ctdb/log.ctdb {
weekly
missingok
rotate 7
copytruncate
compress
delaycompress
notifempty
}

I changed name and now seems to work fine. Bye,

Stefano