RE: LogFormat %{FOOBAR}n note

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks Eric!
I don't have time right now to look in to your response... It's 17:00
;-) but I'll look into it tomorrow.
Thanks,

geert

-----Original Message-----
From: Eric Covener [mailto:covener@xxxxxxxxx] 
Sent: dinsdag 1 september 2009 14:59
To: users@xxxxxxxxxxxxxxxx
Subject: Re:  LogFormat %{FOOBAR}n note

On Tue, Sep 1, 2009 at 6:58 AM, Geurts,
G.P.T.M.<g.p.t.m.geurts@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Hello list,
> I'm working on customised logging for our http servers, one thing I 
> was unable to find information about is the %{FOOBAR}n option for 
> LogFormat. The documentation says it's the contense of note FOOBAR
from another module....
> But what is that exacly and wich modules contain notes? And why could 
> that be interesting to log? Why not open the note of the module if you

> want to know it?

Example: The core sets %{error-notes}n with some extended error info
during some error responses (sometimes the same additional info passed
in the error response). This might help you differentiate between a few
different type of 400 responses.

AuthBasicProvider stashes the name of the module that handled
authentication in a note called "authn_provider_name".

"Why not open it"?  I don't think this makes any sense.  Modules post
these notes to whoever might want to view them (logging, or passing
messages between modules/phases).

> I'm probably completely misunderstanding the use of %n, but this is 
> what I could make from it myself... So if somebody could enlighten me,
I 
> would be very thankful.

If you're not working on a module that documents adding some note that
night be of interest, you wouldn't be logging it.

--
Eric Covener
covener@xxxxxxxxx

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux