You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by James Zhao <jz...@cv.net> on 2004/04/21 19:34:48 UTC
[users@httpd] how to get header in access log
Hello,
How can I get the whole mime header info in apache access log?
I see that I can setup the logformat with ā%{parameter}iā but how do I get the whole header, not just the part of it?
Thanks.
James Zhao
Email: jzhao@cv.net
RE: [users@httpd] how to get header in access log
Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 21 Apr 2004, James Zhao wrote:
> That's interesting though, is there any reason why apache doesn't support
> this? In squid web proxy, there is a flag to enable you get the whole header
> in the access log.
Well, it's not something that most people would want to have in a
production server. It would be large, and rather challenging to format in
such a way that it would be parseable as part of a log entry.
But, as was mentioned here earlier in the week, it would be rather
straightforward to impliment as a custom module.
Actually, now that I think about it, there was a module recently added
that does pretty much exactly this: mod_log_forensic
http://httpd.apache.org/docs-2.0/mod/mod_log_forensic.html
This module is not in any released version of apache. You can pick it up
from CVS if you want it.
Joshua.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
RE: [users@httpd] how to get header in access log
Posted by James Zhao <jz...@cv.net>.
That's interesting though, is there any reason why apache doesn't support
this? In squid web proxy, there is a flag to enable you get the whole header
in the access log.
James Zhao
Email: jzhao@cv.net
-----Original Message-----
From: Joshua Slive [mailto:joshua@slive.ca]
Sent: Wednesday, April 21, 2004 1:37 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] how to get header in access log
On Wed, 21 Apr 2004, James Zhao wrote:
> Hello,
>
> How can I get the whole mime header info in apache access log?
> I see that I can setup the logformat with %{parameter}i but how do I
> get the whole header, not just the part of it?
You can't.
If you need this for debugging, you can use a client-side tool or a
network sniffer to get this info.
Joshua.
---------------------------------------------------------------------
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@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 <URL:http://httpd.apache.org/userslist.html> 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: [users@httpd] how to get header in access log
Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 21 Apr 2004, James Zhao wrote:
> Hello,
>
> How can I get the whole mime header info in apache access log?
> I see that I can setup the logformat with %{parameter}i but how do I
> get the whole header, not just the part of it?
You can't.
If you need this for debugging, you can use a client-side tool or a
network sniffer to get this info.
Joshua.
---------------------------------------------------------------------
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org