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:48:23 UTC
svn commit: r1760890 - in /tomcat/tc7.0.x/trunk:
java/org/apache/juli/OneLineFormatter.java webapps/docs/changelog.xml
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org