Author: kfujino
Date: Thu Sep 15 07:48:23 2016
New Revision: 1760890
URL: http://svn.apache.org/viewvc?rev=1760890&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/tc7.0.x/trunk/java/org/apache/juli/OneLineFormatter.java
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
Modified: tomcat/tc7.0.x/trunk/java/org/apache/juli/OneLineFormatter.java
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/juli/OneLineFormatter.java?rev=1760890&r1=1760889&r2=1760890&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/java/org/apache/juli/OneLineFormatter.java (original)
+++ tomcat/tc7.0.x/trunk/java/org/apache/juli/OneLineFormatter.java Thu Sep 15
07:48:23 2016
@@ -74,7 +74,7 @@ public class OneLineFormatter extends Fo
// Severity
sb.append(' ');
- sb.append(record.getLevel());
+ sb.append(record.getLevel().getLocalizedName());
// Thread
sb.append(' ');
Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1760890&r1=1760889&r2=1760890&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Thu Sep 15 07:48:23 2016
@@ -58,6 +58,15 @@
issues do not "pop up" wrt. others).
-->
<section name="Tomcat 7.0.73 (violetagg)">
+ <subsection name="Catalina">
+ <changelog>
+ <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="jdbc-pool">
<changelog>
<fix>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]