Re: Logging through Web

From: Dancer <dancer@dont-contact.us>
Date: Fri, 03 Apr 1998 12:02:19 +1000

I use this for my apache access log. It doesn't hurt most log processors
because the extra data goes on the end. Man, but you see a lot of
squids:
LogFormat "%h %l %u %t \"%r\" %s %b (Via: %{Via}i) (Forwarded-for:
%{X-Forwarded-for}i)"

Jan Simek wrote:
>
> With Apache you can put such a line into httpd.conf to get the
> HTTP_X_FORWARDED_FOR header. Instead of (or together with) standard Common
> Log Format which looks like:
>
> TransferLog logs/normal_clf_log "%h %l %u %t \"%r\" %s %b"
>
> You'd use:
>
> CustomLog logs/test_log "%h %{X-Forwarded-For}i %l %u %t \"%r\" %s %b"
>
> That's all...
> Still keep in mind you only catch Squid users...
>
> Jan S.
>
> P.S.: If you haven't got Apache, then you can't do this (as far as I
> know...).

-- 
Did you read the documentation AND the FAQ?
If not, I'll probably still answer your question, but my patience will
be limited, and you take the risk of sarcasm and ridicule.
Received on Thu Apr 02 1998 - 18:09:19 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:34 MST