www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Jung <aj...@sz-sb.de>
Subject mod_log-any/679: mod_log_config logs wrong month names in german/english
Date Thu, 05 Jun 1997 06:40:04 GMT

>Number:         679
>Category:       mod_log-any
>Synopsis:       mod_log_config logs wrong month names in german/english
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache (Apache HTTP Project)
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jun  4 23:40:02 1997
>Originator:     ajung@sz-sb.de
>Organization:
apache
>Release:        1.2b10
>Environment:
Sparc Solaris 2.5.1,gcc 2.5.1
SunOS saarland 5.5.1 Generic_103640-05 sun4m sparc SUNW,SPARCstation-20    
>Description:
During analyzing the logs of May of my Apache server I noticed our
analyzing software ANALOG showed up to 80% of corrupt lines in every logfile
from our virtual host. After heavy searching I found that Apache logged the
monthname both in the german and the english abrevation:

ts006p3.pop7a.netvision.net.il - - [01/May/1997:13:28:39 +0200] "GET /hsif01.htm
 HTTP/1.0" 200 2420 "http://www.siebert.de/" "Mozilla/2.0 (compatible; MSIE 3.02
; Windows 95)" 193.141.187.6
ts006p3.pop7a.netvision.net.il - - [01/Mai/1997:13:28:40 +0200] "GET /hsif02.htm
 HTTP/1.0" 200 1294 "http://www.siebert.de/" "Mozilla/2.0 (compatible; MSIE 3.02
; Windows 95)" 193.141.187.6


May is correct, but Mai is the german translation and ANALOG is confused of that !
The problem is that Apache switches between the english and german version without 
any concept. As you can see in the lines above the switch happens during running.
We have a "setenv LANG de" in our shell startup script however it should not 
affect the right logging of apache !
>How-To-Repeat:

>Fix:

>Audit-Trail:
>Unformatted:



Mime
View raw message