[avalon-logkit] Add forgotten patch

Stanislav Ochotnicky sochotni at fedoraproject.org
Tue Oct 18 14:11:11 UTC 2011


commit d33e4d22622e1c9fc8f11ea84dd0c6dd604768ed
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Tue Oct 18 16:08:38 2011 +0200

    Add forgotten patch

 avalon-logkit-encoding.patch |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
---
diff --git a/avalon-logkit-encoding.patch b/avalon-logkit-encoding.patch
new file mode 100644
index 0000000..5e129f7
--- /dev/null
+++ b/avalon-logkit-encoding.patch
@@ -0,0 +1,28 @@
+diff --git a/src/java/org/apache/log/ContextMap.java b/src/java/org/apache/log/ContextMap.java
+index 046106b..2305955 100644
+--- a/src/java/org/apache/log/ContextMap.java
++++ b/src/java/org/apache/log/ContextMap.java
+@@ -29,8 +29,8 @@ import java.util.Hashtable;
+  * <li>hostname  -&gt;helm.realityforge.org</li>
+  * <li>ipaddress -&gt;1.2.3.4</li>
+  * <li>interface -&gt;127.0.0.1</li>
+- * <li>caller � �-&gt;com.biz.MyCaller.method(MyCaller.java:18)</li>
+- * <li>source � �-&gt;1.6.3.2:33</li>
++ * <li>caller    -&gt;com.biz.MyCaller.method(MyCaller.java:18)</li>
++ * <li>source    -&gt;1.6.3.2:33</li>
+  * </ul>
+  * The context is bound to a thread (and inherited by sub-threads) but
+  * it can also be added to by LogTargets.
+diff --git a/src/java/org/apache/log/Logger.java b/src/java/org/apache/log/Logger.java
+index 43ce1b7..d1f7efd 100644
+--- a/src/java/org/apache/log/Logger.java
++++ b/src/java/org/apache/log/Logger.java
+@@ -295,7 +295,7 @@ public class Logger
+     }
+ 
+     /**
+-     * Determine if messages of priority �will be logged.
++     * Determine if messages of priority will be logged.
+      * @param priority the priority
+      * @return true if messages will be logged
+      */


More information about the scm-commits mailing list