View Single Post
Old 27th April 2009, 02:45
cvladan cvladan is offline
Junior Member
Join Date: Sep 2007
Location: Beograd
Posts: 9
Thanks: 0
Thanked 7 Times in 3 Posts
Send a message via Skype™ to cvladan
Default Solution

I had the same problem. For me, the right solution for this problem is to change only one letter %b from lowercase to uppercase in file /etc/httpd/conf/sites-available/ispconfig.conf,
in LogFormat line. Change:

LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig
to this
LogFormat "%v %h %l %u %t \"%r\" %>s %B \"%{Referer}i\" \"%{User-Agent}i\"" combined_ispconfig

Lowercase b to uppercase B. It looks that vlogger does not understand dash - when it's zero it must be zero.
As it is written here already:

%B (Bytes sent, excluding HTTP headers),
%b (Bytes sent, in CLF format i.e. a '-' rather than a 0 when no bytes are sent)
Reply With Quote