[arch-general] Slim login manager is logging everything
Daniel Bumke
danielbumke at gmail.com
Sun Jun 20 03:32:26 EDT 2010
On 20/06/10 04:24, Marek Otahal wrote:
> I'm not sure I get you right, but 8gb is crazy.. how about use somehow
> logrotate/cron to delete the log file?
>
I run slim on an eee and have /var/log on a 5mb tmpfs, so I ran into
this problem quickly. I run logrotate every hour (/etc/cron.hourly/) and
limit log files to 100k. For example, /etc/logrotate.d/slim:
/var/log/slim.log {
compress
rotate 4
size 100k
notifempty
missingok
copytruncate
noolddir
}
That's extreme of course, and I might as well just send it to /dev/null
instead, but it works.
Daniel
More information about the arch-general
mailing list