logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40937] New: - In Turkish locale level "info" is not equivalent to "INFO"
Date Thu, 09 Nov 2006 13:41:54 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40937>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40937

           Summary: In Turkish locale level "info" is not equivalent to
                    "INFO"
           Product: Log4j
           Version: 1.2
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P4
         Component: Configurator
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: y360@yahoo.com


Level configuration such as the following 

log4j.logger.org.apache=info

is recognized as DEBUG rather than INFO in Turkish locale

This is caused by the "Turkish-i problem" that's explained on the following sites
http://java.sys-con.com/read/46241.htm
http://www.i18nguy.com/unicode/turkish-i18n.html

In summary the following assumptions fail, and produces "false" value in Turkish
locale
     "i".toUpperCase().equals("I");
     "I".toLowerCase().equals("i");

Solution is to compare the config level to "INFO" with explicit English locale

To reproduce, change the regional settings of Windows to be Turkish (via Control
Panel -> Regional)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message