logrotate

Martini, Dave martini1 at llnl.gov
Thu Jul 22 16:41:13 UTC 2010


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







More information about the redhat-list mailing list