Re: /var/log/ rotations and length of time logs are maintained



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
.



Relevant Pages

  • Re: /var/log/ rotations and length of time logs are maintained
    ... Our local system requirements mandate that user-related system logs ... modify the log generating/removal procedures so that the log files ... user activity, such as logon and logoff times, secure logins/attempts, ...
    (comp.os.linux.misc)
  • /var/log/ rotations and length of time logs are maintained
    ... Our local system requirements mandate that user-related system logs ... modify the log generating/removal procedures so that the log files ... user activity, such as logon and logoff times, secure logins/attempts, ...
    (comp.os.linux.misc)