Fwd: Re: logrotate question
Am Dienstag, 10. Februar 2004 14:20 schrieb Martin Dickopp:
> "Dr.-Ing. C. Hurschler" <hurschler@gmx.de> writes:
> > I'm running Debian Testing, and have noticed that my syslog, kern.log,
> > and debug.log files are too large (over 100Mb).
>
> I don't have a "debug.log" file on my system. Do you mean "debug"?
yes, I meant debug... Sorry.
> > I looked in logrotate.conf and logrotate.d, but didn't find anything
> > that would rotate these files. Aren't these files rotated in a
> > "standard" installation?
>
> They are rotated by "/etc/cron.daily/sysklogd".
ok, so I don't need to change anything except to install anacron (suggested
by Andreas) since this computer doesn't run in Linux all the time, and never
24 hours a day.
> > I also noticed that the logrotate entry in cron.daily only points at
> > logrotate.conf, but what about the logrotate.d entries, how do they
> > get loaded?
>
> "logrotate.conf" should contain the configuration directive
> "include /etc/logrotate.d".
ah, yes, and it does. Thanks!
> Martin
--
Dr.-Ing. C. Hurschler
Bodenstedtstr. 13
D-30173 Hannover
-------------------------------------------------------
--
Dr.-Ing. C. Hurschler
Bodenstedtstr. 13
D-30173 Hannover
Reply to: