Author: kfujino
Date: Thu Sep 15 07:45:24 2016
New Revision: 1760887
URL: http://svn.apache.org/viewvc?rev=1760887&view=rev
Log:
Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=60117
Ensure that the name of LogLevel is localized when using OneLineFormatter.
Patch provided by Tatsuya Bessho.
Modified:
tomcat/trunk/java/org/apache/juli/OneLineFormatter.java
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/java/org/apache/juli/OneLineFormatter.java
URL:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/juli/OneLineFormatter.java?rev=1760887&r1=1760886&r2=1760887&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/juli/OneLineFormatter.java (original)
+++ tomcat/trunk/java/org/apache/juli/OneLineFormatter.java Thu Sep 15 07:45:24
2016
@@ -126,7 +126,7 @@ public class OneLineFormatter extends Fo
// Severity
sb.append(' ');
- sb.append(record.getLevel());
+ sb.append(record.getLevel().getLocalizedName());
// Thread
sb.append(' ');
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1760887&r1=1760886&r2=1760887&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Thu Sep 15 07:45:24 2016
@@ -68,6 +68,11 @@
Ensure <code>Digester.useContextClassLoader</code> is considered in
case the class loader is used. (violetagg)
</fix>
+ <fix>
+ <bug>60117</bug>: Ensure that the name of <code>LogLevel</code> is
+ localized when using <code>OneLineFormatter</code>. Patch provided by
+ Tatsuya Bessho. (kfujino)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]