Log Format?

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Turtles
-


Joined: 03 Aug 2010
Posts: 42

PostPosted: Fri Oct 19, 2012 8:22 am    Post subject: Log Format? Reply with quote

What's the format for extended logging? By format i mean what do each of the sections mean?

For instance, in my log im trying to figure out what the IP and port are (if they're referring URL or something else)

Quote:
x.x.x.x - - [18/Oct/2012:17:06:41 -0400] "GET /tf2/materials/custom/illusion2.vtf.bz2 HTTP/1.1" 200 5479 "hl2://x.x.x.x:27015" "Half-Life 2"
Back to top View user's profile Send private message
Lawrence
-


Joined: 16 Jan 2003
Posts: 201
Location: Brisbane, AU

PostPosted: Wed Oct 24, 2012 2:50 pm    Post subject: Reply with quote

It's a standard log format, the same as most (all?) webservers' default output.

http://en.wikipedia.org/wiki/Common_Log_Format

In your example, the first IP is the requester (user), the second is the requested resource URL and port.
_________________
[ Please stop confusing your opinion with fact. ]
Back to top View user's profile Send private message Visit poster's website ICQ Number
Toasty
-


Joined: 21 Feb 2008
Posts: 295
Location: Chicago, IL

PostPosted: Mon Nov 26, 2012 7:35 pm    Post subject: Reply with quote

Home > Server Configuration > Logging Parameters

Click "Add" for a new format

Name it

Add Parameters as you see fit.

Hit Ok...


Go to Home > Configure (by your host name) > Logging > Change the "Logging Format" to the new type you made.
_________________
Portfolio: Robert Lerner
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group