logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From psm...@apache.org
Subject cvs commit: logging-log4j/src/java/org/apache/log4j/net SocketAppender.java
Date Sun, 09 May 2004 22:33:59 GMT
psmith      2004/05/09 15:33:59

  Modified:    src/java/org/apache/log4j/net SocketAppender.java
  Log:
  oops, should have used the getMessage rather than rely on exception's toString method.
  
  Revision  Changes    Path
  1.23      +1 -1      logging-log4j/src/java/org/apache/log4j/net/SocketAppender.java
  
  Index: SocketAppender.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/net/SocketAppender.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- SocketAppender.java	9 May 2004 22:29:39 -0000	1.22
  +++ SocketAppender.java	9 May 2004 22:33:59 -0000	1.23
  @@ -229,7 +229,7 @@
         /**
          * Rather than log an ugly stack trace, output the msg
          */
  -      LogLog.error(msg + "(" + e + ")");
  +      LogLog.error(msg + "(" + e.getMessage() + ")");
       }
     }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message