ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1370187 - /ace/sandbox/marrs/org.apache.ace.consolelogger/src/org/apache/ace/consolelogger/Logger.java
Date Tue, 07 Aug 2012 11:29:32 GMT
Author: jawi
Date: Tue Aug  7 11:29:31 2012
New Revision: 1370187

URL: http://svn.apache.org/viewvc?rev=1370187&view=rev
Log:
Log exceptions to stdout instead of stderr.

Modified:
    ace/sandbox/marrs/org.apache.ace.consolelogger/src/org/apache/ace/consolelogger/Logger.java

Modified: ace/sandbox/marrs/org.apache.ace.consolelogger/src/org/apache/ace/consolelogger/Logger.java
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.consolelogger/src/org/apache/ace/consolelogger/Logger.java?rev=1370187&r1=1370186&r2=1370187&view=diff
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.consolelogger/src/org/apache/ace/consolelogger/Logger.java
(original)
+++ ace/sandbox/marrs/org.apache.ace.consolelogger/src/org/apache/ace/consolelogger/Logger.java
Tue Aug  7 11:29:31 2012
@@ -66,7 +66,7 @@ public class Logger implements LogServic
         }
         System.out.println("[" + LEVEL[level] + "]" + bundle + service + message);
         if (throwable != null) {
-            throwable.printStackTrace();
+            throwable.printStackTrace(System.out);
         }
     }
 }
\ No newline at end of file



Mime
View raw message