Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache log file

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
Is there an easy way of creating a sep log file for each 24hr period rather than 1 huge file?
 
There is a separate app that comes on most RedHat distributions called logrotate. It'll handle archiving the old logfile, creating a new logfile and HUPping Apache to use the new, empty file. It can gzip the old logs and has functionality to keep only so many old logs on hand.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top