From: Etaoin Shrdlu <shrdlu@unlimitedmail.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] logrotate
Date: Wed, 3 Aug 2005 16:32:45 +0200 [thread overview]
Message-ID: <200508031632.45379.shrdlu@unlimitedmail.org> (raw)
In-Reply-To: <200508031510.06784.uwix@iway.na>
On Wednesday 03 August 2005 16:10, Uwe Thiem wrote:
> Are you sure you aren't using it? Have you looked into
> /etc/cron.daily?
Yes, I'm sure.
# emerge -s logrotate
* app-admin/logrotate
Latest version available: 3.7.1-r1
Latest version installed: [ Not Installed ]
Size of downloaded files: 31 kB
Homepage: http://www.gentoo.org
Description: Rotates, compresses, and mails system logs
License: GPL-2
# ls /etc/cron.daily/
slocate syslog.cron
where syslog.cron is _not_ part of logrotate, but is instead a script (I
suppose it comes with sysklogd, but I'm not sure) whose purpose, as the
name says, is to rotate syslog's files.
Following the comments in it, I modified it to rotate all the files
in /var/log (it's easy, here are the instructions:
# sysklogd Cron script to rotate system log files daily.
#
# If you want to rotate other logfiles daily, edit
# this script. An easy way is to add them manually
# or to add -a to syslogd-listfiles and add some grep
# stuff
#
# Written by Martin Schulze <joey@debian.org>.
)
This does the job for me, without the need to use the "real" logrotate
app.
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2005-08-03 14:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-03 10:54 [gentoo-user] logrotate Uwe Thiem
2005-08-03 11:11 ` Etaoin Shrdlu
2005-08-03 14:10 ` Uwe Thiem
2005-08-03 14:32 ` Etaoin Shrdlu [this message]
2005-08-04 12:54 ` Richard Fish
[not found] <6b16fb4c0809260048jb340d36qf5175e272f09b140@mail.gmail.com>
2008-09-26 7:49 ` Kaushal Shriyan
2008-09-27 7:10 ` Alan McKinnon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200508031632.45379.shrdlu@unlimitedmail.org \
--to=shrdlu@unlimitedmail.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox