All I can say is, "it's always been on-error only". I've updated the
wiki page. You're certainly welcome to run the log_request_headers
function at a different hookpoint--this is one of the strengths of the
hook and tool system, not wrong at all! I'd just recommend you make a
new Tool for yourself instead of monkeypatching:
cherrypy.tools.log_all_headers = cherrypy.Tool(
'on_start_resource', cptools.log_request_headers)
Robert Brewer
fuma...@aminus.org