|
|||||||||
![]() |
|||||||||
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] bug in mod_cronolog?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, I'm a bit fan of cronolog. I use it on all my servers, and am very happy with what it does. Right now, I'm trying to switch from using ordinary cronolog to mod_cronolog to reduce the number of processes running on a couple of my boxes (with many sites that number goes up _fast_ with 2 cronolog processes per virtual host). Testing mod_cronolog, I have found the following strange behaviour (extract from a local logfile): 127.0.0.1 - - [01/Feb/2003:00:00:00 +0000] "GET / HTTP/1.1" 200 1688 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5" 127.0.0.1 - - [03/Feb/2003:23:05:54 +0000] "GET /cgi-bin/counter2.pl HTTP/1.1" 404 301 "http://patch.be"; "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5" 127.0.0.1 - - [01/Feb/2003:00:00:00 +0000] "GET /vim.gif HTTP/1.1" 200 918 "http://patch.be/"; "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5" As you can see, the timestamp gets mucked up - but not always, only sometimes (but in more than 50% of the cases). Interestingly the Month and Year field - and possibly the timezone, that's hard to tell since I'm in the +0000 timezone - are always correct, but all other fields get set to default values sometimes. First I thought it was a compiler issue. But I have tried on a Debian box with the following compiler: Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) As well as an old RedHat: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.0) And both displayed an identical behaviour. So I guess that rules that one out. I've been looking at the code but can't see anything immediately suspicious, so I was wondering if anyone on the list has some advice? It would be much appreciated. Bye for now, Ward Vandewege. - -- Pong.be -( "I love the way Microsoft follows standards. In much )- Virtual hosting -( the same manner that fish follow migrating caribou." )- http://pong.be -( -- Paul Tomblin )- GnuPG public key: http://gpg.dtype.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) iD8DBQE+QB4GqC3O5tzmh5wRAumvAKCPVVJma1/bT4fDfaPzbEm48OrflgCgla/1 Ywu5mFXPc2zeu2CajVNT2fY= =m4bu -----END PGP SIGNATURE-----
|