<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://fileformats.archiveteam.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Common_Log_Format</id>
		<title>Common Log Format - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://fileformats.archiveteam.org/index.php?action=history&amp;feed=atom&amp;title=Common_Log_Format"/>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Common_Log_Format&amp;action=history"/>
		<updated>2026-04-21T09:29:45Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.2</generator>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Common_Log_Format&amp;diff=7938&amp;oldid=prev</id>
		<title>Dan Tobias at 13:26, 17 December 2012</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Common_Log_Format&amp;diff=7938&amp;oldid=prev"/>
				<updated>2012-12-17T13:26:14Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 13:26, 17 December 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 5:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The '''Common Log Format''' is a standardized log format used by a number of web servers to keep track of accesses to websites. It is the format used by default in Apache.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The '''Common Log Format''' is a standardized log format used by a number of web servers to keep track of accesses to websites. It is the format used by default in Apache&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. The default filename is '''access_log''', which has no extension. Sometimes a server will be set to &amp;quot;auto-rotate&amp;quot; old log files, where an extension will get added to indicate past logs by number relative to the present, like &amp;quot;001&amp;quot; for the previous one, &amp;quot;002&amp;quot; for the one before, and so on, or else a specific date or some other scheme. You can also configure the server to use the filename of your choice (e.g., if you host multiple virtual domains, you may want to use a different log file for each), and some people choose names with an extension (e.g., .log) to make the files easier to deal with in operating systems or software that identify file types by extension&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The format is defined by this expression in the [[httpd.conf (Apache)]] file:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The format is defined by this expression in the [[httpd.conf (Apache)]] file:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dan Tobias</name></author>	</entry>

	<entry>
		<id>http://fileformats.archiveteam.org/index.php?title=Common_Log_Format&amp;diff=7935&amp;oldid=prev</id>
		<title>Dan Tobias: Created page with &quot;{{FormatInfo |formattype=electronic |subcat=Web |subcat2=Web server files }}  The '''Common Log Format''' is a standardized log format used by a number of web servers to keep ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://fileformats.archiveteam.org/index.php?title=Common_Log_Format&amp;diff=7935&amp;oldid=prev"/>
				<updated>2012-12-17T13:15:33Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{FormatInfo |formattype=electronic |subcat=Web |subcat2=Web server files }}  The &amp;#039;&amp;#039;&amp;#039;Common Log Format&amp;#039;&amp;#039;&amp;#039; is a standardized log format used by a number of web servers to keep ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FormatInfo&lt;br /&gt;
|formattype=electronic&lt;br /&gt;
|subcat=Web&lt;br /&gt;
|subcat2=Web server files&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
The '''Common Log Format''' is a standardized log format used by a number of web servers to keep track of accesses to websites. It is the format used by default in Apache.&lt;br /&gt;
&lt;br /&gt;
The format is defined by this expression in the [[httpd.conf (Apache)]] file:&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;%h %l %u %t \&amp;quot;%r\&amp;quot; %&amp;gt;s %b&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This consists of the following space-separated fields:&lt;br /&gt;
&lt;br /&gt;
* Hostname or IP address of accesser of site. If a proxy server is between the end-user and the server, that might get logged here instead of the actual accesser's address.&lt;br /&gt;
&lt;br /&gt;
* RFC 1413 identity of client; this is noted by Apache as unreliable, and is usually blank (represented by a hyphen (-) in the file).&lt;br /&gt;
&lt;br /&gt;
* Username of user accessing document; will be a hyphen (-) for public web sites that have no user access controls.&lt;br /&gt;
&lt;br /&gt;
* Timestamp string surrounded by square brackets, e.g. [12/Dec/2012:12:12:12 -0500]&lt;br /&gt;
&lt;br /&gt;
* HTTP request surrounded by double quotes, e.g., &amp;quot;GET /stuff.html HTTP/1.1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
* HTTP status code: 200 for successful access, 404 for not-found, and other [http://en.wikipedia.org/wiki/List_of_HTTP_status_codes codes].&lt;br /&gt;
&lt;br /&gt;
* Number of bytes transferred in requested object&lt;br /&gt;
&lt;br /&gt;
Note that this format does not include the user agent string or referrer; you need to use the [[Combined Log Format]] to include these fields.&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
* [http://en.wikipedia.org/wiki/Common_Log_Format Common Log Format: Wikipedia]&lt;br /&gt;
* [http://httpd.apache.org/docs/2.2/logs.html#common Common Log Format: Apache]&lt;br /&gt;
* [http://www.webhostgear.com/69.html Apache Log Files Explained]&lt;/div&gt;</summary>
		<author><name>Dan Tobias</name></author>	</entry>

	</feed>