Re: [SLE] logrotate not rotating



On Monday 30 January 2006 9:54 am, Kevin Thorpe wrote:
> Ken Schneider wrote:
> > On Mon, 2006-01-30 at 12:29 +0000, Kevin Thorpe wrote:
> >> I have a problem with logrotate not rotating the syslog files
> >> Can anyone suggest a reason why?
> >
> > Take a look at the size of the files, in this case logrotate will not
> > rotate the files until they are over 4194304 bytes in size.
>
> Oh. That would be the reason. Logrotate didn't use to do that. Can I
> please have my VAX back? I used to understand that.
Sorry, we don't make no VAXEN no more :-)
But, we still make Open VMS :-)

Log rotation is controlled by the file /etc/logrotate.conf and individual
log rotate scripts in /etc/logrotate.d. (such as the one for syslog).

You can change the parameters if you wish.
--
Jerry Feldman <gaf@xxxxxxx>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: How to truncate log files.
    ... >> The reason for the failure of your current attempt can be found in ... > Okay. ... I've glanced at logrotate. ...
    (comp.os.linux.misc)
  • Re: Possible hack? Logs clear & syslogd restarted...need help!
    ... >> Is there a reason why these are clear? ... I never empty these manually. ... > logrotate which said since it is Sunday, ... it...guess i was a little paranoid. ...
    (comp.os.linux.security)
  • [SLE] logrotate not rotating
    ... I have a problem with logrotate not rotating the syslog files It is rotating other files such as the Apache logs ok so I know it's being run. ... Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@xxxxxxxx Also check the archives at http://lists.suse.com ...
    (SuSE)
  • xferlog
    ... I've noticed that xferlog is not subject to logrotate. ... Is there a reason for ... Is there a problem with tar'ing this up occassionally and blanking the ...
    (RedHat)
  • Re: user-level logrotate?
    ... I see no reason that logrotate should require special privileges for any ... Henrik Christian Grove ...
    (Debian-User)