Re: logrotate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dave,

See /etc/cron.daily/logrotate, and /etc/anacrontab (this is where
cron.{daily,weekly,monthly} are called from.

for Logrotate to start processing new files you need to define them
in /etc/logrotate.d/  (see the files in there for examples)

HTH,
Harry


On Thu, 2010-07-22 at 09:41 -0700, Martini, Dave wrote:
> on my RHEL 5 I have /etc/logrotate.conf
> 
> # rotate log files daily
> daily
> 
> # keep 24 days worth of backlogs
> rotate 24
> 
> At what time of the day does the new log file get created?
> Do all log files defined in /etc/syslog.conf get rotated based on the above logrotate.conf entry?
> 
> In my /etc/syslog.conf I have 
> 
> # Save all logs to /DATA1/logs/syslog
> *.*	/DATA1/logs/syslog
> 
> Does logrotate also work on user specified log files like the one I've specified to /DATA1 above?
> 
> Does a service need to be restarted once logrotate is edited?
> 
> Thanks.
> David Martini
> LLNL
> 
> 
> 
> 


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux