How about setting a variable "headers_all" to a Javascript function that collects all headers from request.headersIn[] and returns the concatenated string in some defined format? You can include that variable in your logs.
Cheers,
--j.
Cheers,
--j.