Re: /var/log/ rotations and length of time logs are maintained
- From: noi <noi@xxxxxxxx>
- Date: Tue, 30 Jan 2007 22:07:37 GMT
On Tue, 30 Jan 2007 12:13:18 -0800, Ben wrote this:
Hi,
OS: Fedora Core 5
Kernel: 2.6.18-1.2257.fc5smp #1 SMP Fri Dec 15 16:33:51 EST 2006 i686 i686
i386 GNU/Linux
Our local system requirements mandate that user-related system logs are
kept for a certain number of months, so i'm curious about how to modify
the log generating/removal procedures so that the log files stay around
longer. I don't mind having "secure.27" sitting in my / var/log folder.
I'm not familiar with the utilties that generate the log files, so some
advice about which .conf files to modify is helpful.
I'm primarily interested in maintaining the standard logs that monitor
user activity, such as logon and logoff times, secure logins/attempts,
etc. /var/log/secure being the primary one, since I only allow secure
logins.
Thanks,
less /etc/logrotate.d/syslog
-Ben
man logrotate
less /etc/logrotate.conf
less /etc/logrotate.d/syslog
ls /ect/logrotate.d
.
- References:
- Prev by Date: Re: Whats a good way to write GUI apps
- Next by Date: Re: Problems with USB disc drives?
- Previous by thread: /var/log/ rotations and length of time logs are maintained
- Next by thread: Re: /var/log/ rotations and length of time logs are maintained
- Index(es):
Relevant Pages
|