httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Cicimov <icici...@gmail.com>
Subject Re: [users@httpd] How to log access to a specific web application ?
Date Sun, 26 Jan 2014 20:49:53 GMT
On 27/01/2014 5:09 AM, "Bruno Costacurta" <techie@costacurta.org> wrote:
>
>
> Hello,
>
> my Apache server host few applications.
> Meaning something like :
>
> /var/www/A
> /var/www/B
> /var/www/C
>
> I would like to trace access for a specific application, eg. A
>
> Is it possible ?

Yes if they have separate vhosts. Then in the vhost for the app A you can
put lets say:

ErrorLog /var/log/apache2/error_A.log
LogLevel info
CustomLog /var/log/apache2/access_A.log combined

> Or should I use 'LogLevel info' and so log all applications into
access.log file (then parsing for specific web page) ?
>
> My config for logging is :
> ..
> ErrorLog /var/log/apache2/error.log
> LogLevel info
> CustomLog /var/log/apache2/access.log combined
> ..
>
> Thanks for attention.
> Bye,
> Bruno
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>

Mime
View raw message