Jeff Macdonald ([EMAIL PROTECTED]) said something to this effect:
> Hi,
> I found this interesting tidbit from the Eagle book on page 460:
> ... In addition, the message will be saved in the request's notes
> table, under a key named error-notes. ...
>
> And on page 454:
> ... For example, the logging API saves error messages under a key named
> error-notes, which could be used by ErrorDocuments to provide a more
> informative message. ...
Have you tried setting %n in your LogFormat, to see if that note is visible
to the native logging module? If it is empty there then it would seem that
it is not being set correctly.
the text on p 460 reads to me like this: if you call $r->log yourself, it will
get saved in $r->notes('error-notes') but is not done automatically when you
return SERVER_ERROR. So, you would call do something like:
my $p = $r->param('p') || do {
$r->log("Required parameter 'p' missing.");
return SERVER_ERROR;
};
And pick up the error-notes value in your SERVER_ERROR handler.
darren
--
Shame is an improper emotion invented by pietists to oppress the human race.