Anthony Gardner wrote: > Sure, > > I'd like to log particular error msgs and I saw in the > Apache manual mod_log_config. Amongst the > configurations are things like %h - for host, %u - for > user and things like that. There's an option %{foo}n - > for notes. > > I was wondering if that meant I could get sth out of > $r->notes or $r->pnotes. As my example in the first > mail.
$r->notes will do what you expect. $r->pnotes won't however. $r->notes('foo','baz'); LogFormat "%{foo}n" foo CustomLog "foo.log" foo -------------------------------------------------------------------------------- Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5 http://gozer.ectoplasm.org/ F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5
signature.asc
Description: OpenPGP digital signature