Why aren't syslog, auth.log, etc. rotated by logrotate?



Does anyone know why syslog, auth.log, and other similar system log files
are each rotated by their own separate cron job rather by logrotate? Is
there any reason not to have logrotate handle all of those log files?
--
Adam Rosi-Kessel
http://adam.rosi-kessel.org

Attachment: signature.asc
Description: OpenPGP digital signature



Relevant Pages

  • Re: Size of wtmp files
    ... for logrotate to configure it the way you want. ... > a script to run 'last' repeatedly on zcatted versions of the rotated files, ... an attacker has full reign to edit the log files with impunity. ...
    (comp.os.linux.misc)
  • Re: syslogd that can rotate file based on size in bytes
    ... In that case, just make logrotate run ... How would you tell logrotate to run every 5 minutes and to rotate only if the log file is larger than, say, 2 MB? ... By doing it in a separate program with general support for rotating ... log files, you can rotate all the log files with one mechanism ...
    (comp.unix.programmer)
  • Re: Logrotate - daily log files for a month
    ... Logrotate - daily log files for a month ... As far as I am aware logrotate runs daily, and since we want daily log ... That way I get 31 log files for a 31-day month, ... You will need a number of script files and logrotate files. ...
    (Fedora)
  • Re: [SLE] Log Rotation Apache (RH 8) <OT>
    ... I'm not a logrotate expert, but you might try listing each log file separately ... from apache2 to /etc/logrotate.conf. ... > # rotate log files weekly ... > # uncomment this if you want your log files compressed ...
    (SuSE)
  • Re: syslogd that can rotate file based on size in bytes
    ... I don't want to schedule logrotate every second. ... sizes and rotate files automatically. ... By doing it in a separate program with general support for rotating ... log files, you can rotate all the log files with one mechanism ...
    (comp.unix.programmer)