%{VARNAME}o The contents of VARNAME: header line(s) in the reply.
%{VARNAME}i The contents of VARNAME: header line(s) in the request sent to the server.
-
http://httpd.apache.org/docs/current/mod/mod_log_config.html#logformat