Jarry writes: > Alex Schuster wrote:
> > Something like that, I never used logrotate by myself. See the man > > page for more information. > > Let me ask: how do you deal with /var/log/wtmp? I think it does not > go through syslog, and even it it does, it is not easy to process it > whit that syslog-macro because it is not pure text file. Do you > let it grow forever? Or how do you transfer it to log-server? I just let it grow and grow and grow... on my server, which is running Gentoo for seven years now, it has 27,000 entries, and is at 24 MB. This is okay for me, and I like that I can I see when my fist login on the system was. If space is a concern, you can rename the file and compress it (compress ratio here is 97%), and create is as empty again with 'touch /var/log/wtmp'. Wonko