FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

LinkBack Thread Tools
Old 04-05-2012, 08:50 PM
Bob Hoffman
Default rsyslog / rotation, best practices

in regards to /etc/logrotate.d/syslog the file is in charge of processing

If I wanted to make a specific setting just for maillog (since that file
gets huge really quick) would I add

1- a new file /etc/logrotate.d/maillog with the parameters just like
the other files

2- add parameters in the file it is already located in (/etc/log...d/syslog)

3- logrotate.conf where other settings for btmp and wtmp are located.

Which is the 'best practice' or preferred solution to changing the
defaults for the files in the logrotate.d/syslog file.

Right now I have changed logrotate.conf to go off daily to keep the
maillog from getting to huge. I do not know what the default is for size
forcing the change, but when it got to 35MB logwatch was not properly
accessing it and logrotate in debug mode was saying file too big must be
config file.

There seems to be no setting for file size to force rotation for the log
files in the logrotate.d/syslog file.

CentOS mailing list

Thread Tools

All times are GMT. The time now is 09:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org