mod_log_reqh is an Apache 1.x module for logging all client request headers. The log format is URI encoded and query string-like.