ispCP - Board - Support
Apache log files - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Apache log files (/thread-7464.html)



Apache log files - urug - 08-12-2009 04:09 AM

Hi
I would like to ask a question.

What is the purpose of the /var/log/apache2/domain-combined.log file,
which has the same content as /var/log/apache2/user/domain-access.log,
and is rotated at the same time?


RE: Apache log files - BeNe - 08-12-2009 05:02 AM

/var/log/apache2/user/domain-access.log is the ApacheLog for the Customer Log.
/var/log/apache2/domain-combined.log is used for the traffic count

Greez BeNe


RE: Apache log files - kilburn - 08-12-2009 08:30 AM

Quote:/var/log/apache2/domain-combined.log is used for the traffic count

... and for awstats, I think.


RE: Apache log files - urug - 08-12-2009 02:50 PM

Okay, I understand. But if this 2 files have same content, why don't use one of them? Or maybe I should disable logrotate for /var/log/apache2/*log?


RE: Apache log files - kilburn - 08-12-2009 04:42 PM

Quote:Okay, I understand. But if this 2 files have same content, why don't use one of them?

They don't have the exact same content. Combined log includes failing pages (http response 4xx and 5xx), whereas acces log only shows OK (http 2xx) pages.

Quote:Or maybe I should disable logrotate for /var/log/apache2/*log?

No, it's ok to rotate both of them.


RE: Apache log files - urug - 08-12-2009 05:23 PM

I understand the point, thanks :-)