Forum Moderators: phranque
But I don't this ID information in the Apache webserver log files. I mean in "Field 3." the ID information is not getting into the log files. Our web server admin is not having much knowledge on this. I am hoping someone here can help me. Thanks.
Sample log file format
======================
111.222.333.123 HOME - [01/Feb/1998:01:08:39 -0800] "GET /bannerad/ad.htm
HTTP/1.0" 200 198 "http://www.referrer.com/bannerad/ba_intro.htm"
"Mozilla/4.01 (Macintosh; I; PPC)"
111.222.333.123 HOME - [01/Feb/1998:01:08:46 -0800] "GET /bannerad/ad.htm
HTTP/1.0" 200 28083 "http://www.referrer.com/bannerad/ba_intro.htm"
"Mozilla/4.01 (Macintosh; I; PPC)"
Description of Fields:
============================
· Field 1: User Address
IP or domain name of the user accessing the site.
· Field 2: RFC931
This field is used to log the domain for multi-homed web servers.
· Field 3: User Authentication
· Field 4: Date/Time
Date and time the user accessed the site.
· Field 5: GMT Offset
Number of hours from GMT (if this is +0000 it is logged in GMT time).
· Field 6: Action
The particular operation of the hit (this must be in quotes).
Jim
Using the above, can you pls tell what and where exactly need to be changed in the config file, so that this values comes up in the Field 3.
Thank you,
-Ramana
GEORACLEHRIDyou would add that to the format as:
"%h %l %u %t \"%r\" %>s %b \"%{GEORACLEHRID}i\""