Skip site navigation (1)Skip section navigation (2)
Date:      29 Mar 2000 12:47:21 -0500
From:      Arcady Genkin <a.genkin@utoronto.ca>
To:        freebsd-questions@FreeBSD.ORG
Subject:   apache logs unsorted
Message-ID:  <877lel1xee.fsf@tea.thpoon.com>

next in thread | raw e-mail | index | archive | help
Since I upgraded apache from plain 1.3.12 to apache+php3, the log file
looks kinda strange, because it's no longer sorted in chronological
order. For example, the following lines:

,----[ /var/log/apache_access_log ]
| 212.161.27.1 - - [29/Mar/2000:03:54:51 -0500] "GET /icons/cbxSmall.jpg
| HTTP/1.0" 200 2537 "http://www.thpoon.com/" "Mozilla/4.0 (compatible;
| MSIE 4.01; Windows 95)"
| 
| 192.168.1.2 - - [29/Mar/2000:03:03:42 -0500] "GET
| /~antipode/system.html HTTP/1.0" 304 - "http://soup/" "Mozilla/4.72
| [en] (X11; U; Linux 2.2.14 i686; Nav)"
| 
| 212.161.27.1 - - [29/Mar/2000:03:55:16 -0500] "GET
| /~antipode/old_photo.jpg HTTP/1.0" 200 28778
| "http://www.thpoon.com/~antipode/index.html" "Mozilla/4.0 (compatible;
| MSIE 4.01; Windows 95)"
| 
| 158.227.2.37 - - [29/Mar/2000:02:45:58 -0500] "GET
| /~antipode/index.html HTTP/1.0" 200 1638 "http://www.thpoon.com/"
| "Mozilla/4.7 [en] (X11; I; Linux 2.2.13 i686)"
| 
| 212.161.27.1 - - [29/Mar/2000:03:54:49 -0500] "GET /standard.css
| HTTP/1.0" 200 147 "http://www.thpoon.com/" "Mozilla/4.0 (compatible;
| MSIE 4.01; Windows 95)"
`----

appear in totally wrong order. If you note, the first one refers to
access time 3:54, then 3:03, then 3:55, then 2:45, and then 3:54
again.

I have had a script which parses the apache logs. It relied on the
lines to appear in the order of access times. That script no longer
works now. ;^(

Is that something in the config file?
-- 
Arcady Genkin                                 http://www.thpoon.com
Nostalgia isn't what it used to be.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?877lel1xee.fsf>