Re: Slim login manager is logging everything

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux