You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by sd...@apache.org on 2004/05/28 09:19:16 UTC
cvs commit: logging-log4j/src/java/org/apache/log4j/varia LogFilePatternReceiver.java
sdeboy 2004/05/28 00:19:16
Modified: src/java/org/apache/log4j/chainsaw/help release-notes.html
src/java/org/apache/log4j/varia LogFilePatternReceiver.java
Log:
Updated LogFilePatternReceiver to correctly process events without exceptions.
Revision Changes Path
1.17 +4 -0 logging-log4j/src/java/org/apache/log4j/chainsaw/help/release-notes.html
Index: release-notes.html
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/chainsaw/help/release-notes.html,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- release-notes.html 27 May 2004 07:22:27 -0000 1.16
+++ release-notes.html 28 May 2004 07:19:16 -0000 1.17
@@ -7,6 +7,10 @@
<BODY>
<h2>Release Notes</h2>
+<h2>1.99.99 (28th May 2004 08:00 GMT+10)</h2>
+<ul>
+ <li>Updated LogFilePatternReceiver to correctly process events without exceptions.</li>
+</ul>
<h2>1.99.99 (27th May 2004 08:00 GMT+10)</h2>
<ul>
<li>Fixed 'scroll to bottom' no longer scrolling if log panel's events were cleared. Thanks to Steven Kearns for finding this.</li>
1.10 +3 -0 logging-log4j/src/java/org/apache/log4j/varia/LogFilePatternReceiver.java
Index: LogFilePatternReceiver.java
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/varia/LogFilePatternReceiver.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- LogFilePatternReceiver.java 12 May 2004 06:37:31 -0000 1.9
+++ LogFilePatternReceiver.java 28 May 2004 07:19:16 -0000 1.10
@@ -527,6 +527,9 @@
if (fieldMap == null) {
return null;
}
+ if (exception == null) {
+ exception = new String[]{""};
+ }
Logger logger = null;
long timeStamp = 0L;
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org