Re: Log rotation in Debian /var/log

2001-03-23 Thread Paul D. Smith
%% Ilya Martynov <[EMAIL PROTECTED]> writes: im> Just curious: What drawbacks? I found two, but only one is really critical: 1) You can use globbing to have a single stanza match multiple log files, BUT the entire stanza is run each time for each log file, _including_ the postrotate s

Re: Log rotation in Debian /var/log

2001-03-23 Thread Ilya Martynov
> "PDS" == Paul D Smith <[EMAIL PROTECTED]> writes: PDS> Unfortunately after playing with logrotate, it has some PDS> significant drawbacks that would need to be addressed before PDS> it could be considered sufficiently generic to be used by PDS> "everyone". Just curious: What

Re: Log rotation in Debian /var/log

2001-03-23 Thread Paul D. Smith
%% Ethan Benson <[EMAIL PROTECTED]> writes: eb> On Wed, Mar 21, 2001 at 09:08:00PM -0500, Paul D. Smith wrote: >> This seems needlessly complex: how many different log rotating tools do >> we need to have on a system in order to do the job? Debian should pick >> one and try to move all t

Re: Log rotation in Debian /var/log

2001-03-21 Thread Ethan Benson
On Wed, Mar 21, 2001 at 09:08:00PM -0500, Paul D. Smith wrote: > OK, I see sysklogd. > > This seems needlessly complex: how many different log rotating tools do > we need to have on a system in order to do the job? Debian should pick > one and try to move all the standard system services to use t

Re: Log rotation in Debian /var/log

2001-03-21 Thread Paul D. Smith
OK, I see sysklogd. This seems needlessly complex: how many different log rotating tools do we need to have on a system in order to do the job? Debian should pick one and try to move all the standard system services to use that one tool, IMO. Next question: how in the heck are the Apache logs ro

Re: Log rotation in Debian /var/log

2001-03-21 Thread Mike Dresser
> Most of the system files are being rotated by sysklogd. > > Regards, > Andreas. Did some more digging, finally found savelog. If you check your /etc/cron.daily and /etc/cron.weekly, you'll find savelog is called by sysklogd. change the -c 4 to something higher, and in the other, the -c 7 to

Re: Log rotation in Debian /var/log

2001-03-21 Thread Andreas Hetzmannseder
On Wed, Mar 21, 2001 at 12:31:28PM -0500, Paul D. Smith wrote: > [...] > I mean, I know about logrotate and I ass-u-me that the logs in /var/log > are rotated using logrotate... no? > > When I look in /etc/cron.daily/logrotate I see an invocation of > logrotate with the config file /etc/logratate.

Re: Log rotation in Debian /var/log

2001-03-21 Thread Mike Dresser
"Paul D. Smith" wrote: > How are the rest of the log files getting rotated? Is this built into > logrotate somehow so it doesn't need to be configured? Or what? Indeed. I changed my logrotate.conf, to rotate weekly, for 52 weeks. So far, some files rotate daily, some rotate weekly, some rota