LogFormat "%{HANDLER_TYPE}e %h %l %u %t \"%r\" %>s %b" common
LogFormat "%{HANDLER_TYPE}e %v %h %l %u %t \"%r\" %>s %b" vhost_common
LogFormat "%{HANDLER_TYPE}e %{Referer}i -> %U" referer
LogFormat "%{HANDLER_TYPE}e %{User-agent}i" agent
LogFormat "%{HANDLER_TYPE}e %h %l %u %t \"%r\" %>s %b \
\"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%{HANDLER_TYPE}e %v %h %l %u %t \"%r\" %>s %b \
\"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
# To use %I and %O, you need to enable mod_logio
LogFormat "%{HANDLER_TYPE}e %h %l %u %t \"%r\" %>s %b \
\"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
# Use one of these when you want a compact non-error SSL logfile on a virtual
# host basis:
Logformat "%{HANDLER_TYPE}e %t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
\"%r\" %b" ssl_common
Logformat "%{HANDLER_TYPE}e %t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \
\"%r\" %b \"%{Referer}i\" \"%{User-Agent}i\"" ssl_combined
SetEnv HANDLER_TYPE "default server"
# default to the common log/errorlog formats
LogFormat "%{HANDLER_TYPE}e %h %l %u %t \"%r\" %>s %b"
ErrorLogFormat "[%{HANDLER_TYPE}e] [%t] [%l] [pid %P] %F: %E: [client %a] %M"