View Single Post
  #6  
Old 01-10-2013, 02:38 AM
bobykus bobykus is offline
Senior Member
 
Join Date: Sep 2012
Posts: 73
OK, now I see, the problem is instead of loggin all to /hsphere/shared/apache/logs/traffic_log it write only entries for web sites
which have no TransferLog enabled in virtual host config.
But, all I need is to have a separate log files for virtual hosts and one traffic_log for all to collect traffic statistic. Instead of having records in user logs OR in traffic_log.
As for

LogFormat "%{%s}t %{Host}i %I %O" combinedio


it looks fine now. It write http_host value. But I need

%v The canonical ServerName of the server serving the request.

which is slightly different.
Reply With Quote