Re: [us...@httpd] how to get logs per vhosts ?

2009-09-23 Thread Matus UHLAR - fantomas
On 22.09.09 17:30, J. Bakshi wrote: In my linux server ( opensuse 11) , I am running apache with some vhosts. All the virtual-hosts are running well. But the apache log file is common for all the virtual hosts ; that is /etc/var/log/apache/access.log. How can I get per vhost log so that I

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-23 Thread J. Bakshi
Matus UHLAR - fantomas wrote: On 22.09.09 17:30, J. Bakshi wrote: In my linux server ( opensuse 11) , I am running apache with some vhosts. All the virtual-hosts are running well. But the apache log file is common for all the virtual hosts ; that is /etc/var/log/apache/access.log. How

RE: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread Geurts, G.P.T.M.
Hello mr Bakshi, You can define per vhost accesslogs by simply defining them. If your vhost defenition contains a CustomLog /var/log/logfile logformat directive, it will log all accesslog using LogFormat logformat to the file /var/log/logfile for that vhost. Accesslogs not belonging to that vhost

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread J. Bakshi
Geurts, G.P.T.M. wrote: Hello mr Bakshi, You can define per vhost accesslogs by simply defining them. If your vhost defenition contains a CustomLog /var/log/logfile logformat directive, it will log all accesslog using LogFormat logformat to the file /var/log/logfile for that vhost.

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread J. Bakshi
J. Bakshi wrote: Geurts, G.P.T.M. wrote: Hello mr Bakshi, You can define per vhost accesslogs by simply defining them. If your vhost defenition contains a CustomLog /var/log/logfile logformat directive, it will log all accesslog using LogFormat logformat to the file /var/log/logfile

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread Serge Fonville
Hi, I'd consider logging to a database instead Read into mod_log_mysql http://www.howtoforge.com/apache2-logging-to-a-mysql-database-with-mod_log_sql-on-debian-etch That should get you started. It might require som fiddling... HTH Regards, Serge Fonville On Tue, Sep 22, 2009 at 2:24 PM, J.

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread Rich Bowen
On Sep 22, 2009, at 08:24 , J. Bakshi wrote: Well there is one side effect for the web hosting server. Generally these type of servers host a huge no. of vhosts. And the CustomLog options then creates a serious performance issue. To cope with that an alternative is to log all the vhost at

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread J. Bakshi
Serge Fonville wrote: Hi, I'd consider logging to a database instead Read into mod_log_mysql http://www.howtoforge.com/apache2-logging-to-a-mysql-database-with-mod_log_sql-on-debian-etch That should get you started. It might require som fiddling... HTH Hello, Thanks for your

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread J. Bakshi
Rich Bowen wrote: On Sep 22, 2009, at 08:24 , J. Bakshi wrote: Well there is one side effect for the web hosting server. Generally these type of servers host a huge no. of vhosts. And the CustomLog options then creates a serious performance issue. To cope with that an alternative is to

RE: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread Geurts, G.P.T.M.
to buffer a number of messages... -Original Message- From: J. Bakshi [mailto:joyd...@infoservices.in] Sent: dinsdag 22 september 2009 14:56 To: users@httpd.apache.org Subject: Re: [us...@httpd] how to get logs per vhosts ? Rich Bowen wrote: On Sep 22, 2009, at 08:24 , J. Bakshi wrote

Re: [us...@httpd] how to get logs per vhosts ?

2009-09-22 Thread Rich Bowen
On Sep 22, 2009, at 08:56 , J. Bakshi wrote: Rich Bowen wrote: On Sep 22, 2009, at 08:24 , J. Bakshi wrote: Well there is one side effect for the web hosting server. Generally these type of servers host a huge no. of vhosts. And the CustomLog options then creates a serious performance