RE: how to get logs per vhosts ?

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

 



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 go to you global defined
accesslog

-----Original Message-----
From: J. Bakshi [mailto:joydeep@xxxxxxxxxxxxxxx] 
Sent: dinsdag 22 september 2009 14:00
To: users@xxxxxxxxxxxxxxxx
Subject:  how to get logs per vhosts ?

Hello list,

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
can use awstat  as well as monitor log for concerned vhost only ?

thanks.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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