cancel
Showing results for 
Search instead for 
Did you mean: 

Logfile contents

N/A

Logfile contents

Can you explain / confirm the contents of the log files?

I figure they are from left:
client-IP/url, unknown, unknown, date time, method, page, http-version, status, filesizeHuh, referer, user-agent, site-name

thanks,

Jaap
3 REPLIES
csogilvie
Grafter
Posts: 5,852
Registered: 04-04-2007

Logfile contents

From memory, and in order of LtR

IP or rDNS of the visitor
No Idea - I've never yet seen any entry in it in all the logs I've seen!
login name used when using .htaccess authentication
date & time of access
Method and URL accessed
Status Code - 200 means OK, 404 is File Not Found, 304 is Not Modified
File Size in bytes
Referring URL - The Page that linked to the page in question
UserAgent
HostName - www.username.plus.com/cgi.username.plus.com/domain.ext (I guess this is included so that the webstats splitter knows which site this is for)
N/A

Logfile contents

Thanks, got analog to work properly now.

Jaap
benoh
Grafter
Posts: 272
Registered: 24-08-2007

Logfile contents

Quote
From memory, and in order of LtR

IP or rDNS of the visitor
No Idea - I've never yet seen any entry in it in all the logs I've seen!


Neither did I so I looked it up Smiley

- (%l)
The "hyphen" in the output indicates that the requested piece of information is not available. In this case, the information that is not available is the RFC 1413 identity of the client determined by identd on the clients machine. This information is highly unreliable and should almost never be used except on tightly controlled internal networks. Apache httpd will not even attempt to determine this information unless IdentityCheck is set to On.

The logs are in Combined Log Format with the addition of the Virtualhost name in the last field which as suspected is used to split them up afterwards.

The config line is

LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\" %v"