Author: kfujino Date: Thu Sep 15 07:46:23 2016 New Revision: 1760888 URL: http://svn.apache.org/viewvc?rev=1760888&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.5.x/trunk/java/org/apache/juli/OneLineFormatter.java tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc8.5.x/trunk/java/org/apache/juli/OneLineFormatter.java URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/java/org/apache/juli/OneLineFormatter.java?rev=1760888&r1=1760887&r2=1760888&view=diff ============================================================================== --- tomcat/tc8.5.x/trunk/java/org/apache/juli/OneLineFormatter.java (original) +++ tomcat/tc8.5.x/trunk/java/org/apache/juli/OneLineFormatter.java Thu Sep 15 07:46:23 2016 @@ -127,7 +127,7 @@ public class OneLineFormatter extends Fo // Severity sb.append(' '); - sb.append(record.getLevel()); + sb.append(record.getLevel().getLocalizedName()); // Thread sb.append(' '); Modified: tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml?rev=1760888&r1=1760887&r2=1760888&view=diff ============================================================================== --- tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc8.5.x/trunk/webapps/docs/changelog.xml Thu Sep 15 07:46:23 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-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org