You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2020/02/07 03:26:34 UTC

[Bug 64121] New: Log messages should not be localized

https://bz.apache.org/bugzilla/show_bug.cgi?id=64121

            Bug ID: 64121
           Summary: Log messages should not be localized
           Product: Tomcat 9
           Version: 9.0.x
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: ktamura.biz.80@gmail.com
  Target Milestone: -----

Log messages should not be localized because of the following reasons:

 - To make it easier to find out cause and solution for message by Google
search. Japanese message allows us to search only Japanese information.
 - In general, the readers of Tomcat logs are developers or administrators who
can understand English so there are no need to be localized. 
 - It can cause Mojibake in Tomcat logs if Tomcat/OS settings is incorrect.
 - We often need to replace localized messages in Tomcat logs with English
messages for some reasons.

I will do pull request if this is accepted.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 64121] Log messages should not be localized

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64121

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
The Manager UI is localized based on the UA's locale, not the server's so this
is already supported.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 64121] Log messages should not be localized

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64121

--- Comment #2 from Kohei Tamura <kt...@gmail.com> ---
I think manager apps should be localized but log messages should not by
default. Please reconsider my proposal if votes are increased. 

See also:
https://stackoverflow.com/questions/52405966/how-to-turn-off-localized-log-messages-in-jboss-as-7

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 64121] Log messages should not be localized

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64121

--- Comment #4 from Christopher Schultz <ch...@christopherschultz.net> ---
Localized log messages make it easier for speakers of all languages to use
Tomcat. There is a lot of English out there, but the more other languages are
used, the more Google will become a source of help for those localized
messages.

By your standard, we could never change an error message to be more helpful, or
to change the wording in any way or fear that Google would no longer answer
questions as readily.

If you'd like to discuss this more, please do so on the users' mailing list.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 64121] Log messages should not be localized

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64121

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Other users take a different view and prefer to have localized log messages.

Users are free to control the locale used for log messages by setting an
appropriate locale in setenv.[sh|bat].

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org