The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-01-2001
jaws jaws is offline
Registered User
  
 

Join Date: Aug 2001
Posts: 6
Apache Log Size

Hello,

Try using the rotatelogs command which might
look like the following:

access_log "| rotatelogs /path/to/logs/access_log 2592000"

It should be located in your ../apache/bin folder.
The man page for complete details is at:

http://www.apache.org/docs-2.0/programs/rotatelogs.html

Enjoy!