Re: How to log access to a specific web application ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 27/01/2014 5:09 AM, "Bruno Costacurta" <techie@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux