|
|
| Newsyslog for Apache |
|
|
|
| Written by Bart Dorlandt |
| Sunday, 10 June 2007 16:09 |
|
I didn't get logrotating working in Apache so I made it possible by shutting down apache and rotate the logs and putting apache back on. See my script below that is used in crontab. Script: #!/bin/sh Crontab, once a month: 0 0 1 * * /root/scripts/rotate-apache.sh newsyslog.apache.conf # logfile_name owner:group mode count size when flags |
| Last Updated on Friday, 13 February 2009 15:31 |
| Related items: |
|---|
|


