Apache HTTPD logformat
logformat lets you define custom logformatlogformat
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common logformat including orig ip addr and cookies !
LogFormat "%h %{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Cookie}i\"" combinedplus
logformat for referrers and user-agentsLogFormat "%h %{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" \"%{Cookie}i\"" combinedplus
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
logformat with combined input and output statsLogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
logformat for vhostsLogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
to create one log file for all vhosts add %v to your access LogFormat
LogFormat "%v %h %l %u %t \"%r\" %>s %b" common
you can then use split-logfile to split the single logfile into separate logs at a later date
NOTE: You cant create 'custom' log formats for your apache httpd error logs
logformat for form POST dataLogFormat "%v %h %l %u %t \"%r\" %>s %b" common