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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache LogRotate

Status
Not open for further replies.

axman505

Technical User
Jun 20, 2001
489
US
I am using redhat 8.0 with the standard logrotate daemon.

I have this entry:
/var/log/httpd/ssl_request_log /var/log/httpd/access_log /var/log/httpd/agent_log /var/log/httpd/error_log /var/log/httpd/ref$
missingok
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true
endscript
}

But for the apache logfiles i am ending up with accesss_log and access_log.1 being empty, and all the hits are going to access_log.2

any suggestions?
thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top