
01-11-2013, 04:22 AM
|
|
LiteSpeed Staff
|
|
Join Date: Sep 2009
Posts: 2,226
|
|
%%%
I did some tests for"%v" under pure apache, it acts like litespeed: virtualhost's server name not showing there --- since my test env not good today, it may be wrong. it's best you can work out a test case which I can reproduce it.
according http://www.psoft.net/HSdocumentation...ilt-in_traffic
Quote:
Since version 2.5, H-Sphere introduces the mod_psoft_traffic module to write a more informative and convenient traffic log into the /hsphere/local/var/httpd/logs/traffic_log file. Traffic log has the following format:
<unix_timestamp> <domain_name> <incoming_traffic> <outgoing_traffic>
|
my conclusion so far, without this H-Sphere specific module mod_psoft_traffic, %v won't be able to convert to virtual host's server name in server level section of httpd.conf.
if so, there may be no other better way than every virtual host to include "CustomLog /hsphere/local/var/httpd/logs/traffic_log combinedio" to mimic this H-Sphere's behavior.
Last edited by NiteWave; 01-11-2013 at 04:29 AM..
|