Why aren't syslog, auth.log, etc. rotated by logrotate?
- From: Adam Rosi-Kessel <adam@xxxxxxxxxxxxxxx>
- Date: Tue, 28 Feb 2006 16:24:21 -0500
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
- Prev by Date: Trasnfering an intalled system to another hd
- Next by Date: certified debian laptops?
- Previous by thread: Trasnfering an intalled system to another hd
- Next by thread: certified debian laptops?
- Index(es):
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: get the timestamp as a log filename
... Genti A. Hila wrote: ... > I have some log files that are saved from
logrotate hourly. ... You may have to write a script to run as part of the logrotate
... (Fedora)