You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by kf...@apache.org on 2016/09/15 07:47:22 UTC

svn commit: r1760889 - in /tomcat/tc8.0.x/trunk: java/org/apache/juli/OneLineFormatter.java webapps/docs/changelog.xml

Author: kfujino
Date: Thu Sep 15 07:47:22 2016
New Revision: 1760889

URL: http://svn.apache.org/viewvc?rev=1760889&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/tc8.0.x/trunk/java/org/apache/juli/OneLineFormatter.java
    tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml

Modified: tomcat/tc8.0.x/trunk/java/org/apache/juli/OneLineFormatter.java
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/java/org/apache/juli/OneLineFormatter.java?rev=1760889&r1=1760888&r2=1760889&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/java/org/apache/juli/OneLineFormatter.java (original)
+++ tomcat/tc8.0.x/trunk/java/org/apache/juli/OneLineFormatter.java Thu Sep 15 07:47:22 2016
@@ -100,7 +100,7 @@ public class OneLineFormatter extends Fo
 
         // Severity
         sb.append(' ');
-        sb.append(record.getLevel());
+        sb.append(record.getLevel().getLocalizedName());
 
         // Thread
         sb.append(' ');

Modified: tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml
URL: http://svn.apache.org/viewvc/tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml?rev=1760889&r1=1760888&r2=1760889&view=diff
==============================================================================
--- tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc8.0.x/trunk/webapps/docs/changelog.xml Thu Sep 15 07:47:22 2016
@@ -61,6 +61,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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org