Forum OpenACS Q&A: Response to Writing additional content to access logs

This isn't exactly what you need but...

I added host and cookie information to the log using the extendedheaders parameter.

ns_section "ns/server/${server}/module/nslog" 
        ns_param   File            $logdir(${server})/${server}.log
...
        ns_param   extendedheaders HOST,COOKIE   ;# show host information