LogFormat %{FOOBAR}n note
LogFormat %{FOOBAR}n note
am 01.09.2009 12:58:34 von g.p.t.m.geurts
------_=_NextPart_001_01CA2AF3.26639BEA
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
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?
I'm probably completely misunderstanding the use of %n, but this is what
I could make from it myself...=20
So if somebody could enlighten me, I would be very thankful.
Thanks !
Geert Geurts=20
Universiteit Leiden
Afdeling Middleware
Tel:071-5276873
------_=_NextPart_001_01CA2AF3.26639BEA
Content-Type: text/html;
charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
charset=3Dus-ascii">
6.5.7651.53">
LogFormat %{FOOBAR}n note
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?
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.
Thanks !
Geert Geurts
Universiteit Leiden
Afdeling Middleware
Tel:071-5276873
------_=_NextPart_001_01CA2AF3.26639BEA--
Re: LogFormat %{FOOBAR}n note
am 01.09.2009 14:58:51 von Eric Covener
On Tue, Sep 1, 2009 at 6:58 AM, Geurts,
G.P.T.M. 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=
=85.
> But what is that exacly and wich modules contain notes? And why could tha=
t
> 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=85
> 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.
--=20
Eric Covener
covener@gmail.com
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: LogFormat %{FOOBAR}n note
am 01.09.2009 17:05:28 von g.p.t.m.geurts
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@gmail.com]=20
Sent: dinsdag 1 september 2009 14:59
To: users@httpd.apache.org
Subject: Re: [users@httpd] LogFormat %{FOOBAR}n note
On Tue, Sep 1, 2009 at 6:58 AM, Geurts,
G.P.T.M. wrote:
> Hello list,
> I'm working on customised logging for our http servers, one thing I=20
> was unable to find information about is the %{FOOBAR}n option for=20
> 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=20
> 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=20
> what I could make from it myself... So if somebody could enlighten me,
I=20
> 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@gmail.com
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server
Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org