ispCP - Board - Support
#940 Apachelog problem - 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: #940 Apachelog problem (/thread-2106.html)



#940 Apachelog problem - BeNe - 01-09-2008 05:06 AM

Hy out there,

i checked the ticket 940 and it is a really Problem here.
--> http://www.isp-control.net/ispcp/ticket/940

How does this works on Confixx ,Plesk, PDAdmin or other Software ?
Is there maybe a small script for such pipe ?
We try to find a quick solution. So the question was, how does other Apps do it ?

Greez BeNe


RE: #940 Apachelog problem - joximu - 01-09-2008 05:48 AM

I can tell about plesk 7.54
Code:
global:
<IfModule mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>
<IfModule !mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>

virtualhost:
CustomLog  /home/httpd/vhosts/aaa.ch/statistics/logs/access_log plesklog
ErrorLog   /home/httpd/vhosts/aaa.ch/statistics/logs/error_log

domains: about 80 virtualhosts
lsof | grep http | grep log | wc -l -> 2514
mod_php... about 22 running http processes at the moment...

/J


RE: #940 Apachelog problem - BeNe - 01-09-2008 05:56 AM

Thanks for answer Joxi.

So Plesk use mod_log_config with mod_logio - OK
I will search a little bit in this Section.

Greez BeNe


RE: #940 Apachelog problem - joximu - 01-09-2008 06:25 AM

As I already wrote in the ticket: I think taht we should be able to live with two logfiles per *domain (at least for awatats etc).
for the ispcp statistics one file for all doimains (of couse: with traffic and domain) could be ok.

A good solutions might also be the proposed - e pipe-script...

/J


RE: #940 Apachelog problem - Zothos - 01-09-2008 06:40 AM

Hm, if awstats coult also just use the global log file, we would have more not opend files. Tongue

Im also supporting the idea of a pipe script with mod_logio / mod_log_config