http://httpd.apache.org/docs/mod/mod_log_config.html says that in the custom logfile definition:
%...{Foobar}n: The contents of note "Foobar" from another module.
Is it possible to use this to log something from PHP (eg a variable) into the http log file?
Or is there another way of doing this?