From: Mark Doyle <[EMAIL PROTECTED]>
> How about adding a custom header with the format you want
> and then logging that with a custom log format?
I think I've found an acceptable method. I've got a log handler like this:
my $req = $r->the_request;
if ($r->uri =~ /$something_interesting/) {
$req =~ s/$stuff/$other_stuff/;
}
$r->subprocess_env('THE_REQUEST', $req);
Then I'm using a custom log format like this:
LogFormat "%h %l %u %t \"%{THE_REQUEST}e\" %>s %b \"%{User-Agent}i\"" req_overload
---
Rodney Broom