Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how do i rotate my apache logs
#6

Quote:i think that means its working now, 

but why didnt it work before ?
 

That means that the postrotate failed, what did you use for the postrotate?

 

For instance, if you never start apache with an initscript, what I have above wouldn't work, if you use apachectl then thats the line you want.

 

Basically you need to reload (or restart if you wish but its not needed) apache once you "steal" its log files with logrotate.

 

Ensure that the postrotate line actually works :)

Reply


Messages In This Thread
how do i rotate my apache logs - by anyweb - 2006-01-15, 11:06 AM
how do i rotate my apache logs - by znx - 2006-01-15, 06:22 PM
how do i rotate my apache logs - by anyweb - 2006-01-25, 02:07 PM
how do i rotate my apache logs - by znx - 2006-01-25, 02:21 PM
how do i rotate my apache logs - by anyweb - 2006-01-25, 02:32 PM
how do i rotate my apache logs - by znx - 2006-01-25, 07:42 PM
how do i rotate my apache logs - by anyweb - 2006-01-25, 07:54 PM
how do i rotate my apache logs - by znx - 2006-01-25, 08:02 PM
how do i rotate my apache logs - by anyweb - 2006-01-25, 09:47 PM
how do i rotate my apache logs - by anyweb - 2006-11-01, 06:34 AM
how do i rotate my apache logs - by znx - 2006-11-02, 04:01 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)