tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/webapp/java WarpLogger.java
Date Wed, 12 Sep 2001 22:21:08 GMT
pier        01/09/12 15:21:08

  Modified:    webapp/java WarpLogger.java
  Log:
  Avoid dumping to STDERR unless this is a DEBUG build of the WARP connector.
  
  Revision  Changes    Path
  1.2       +2 -2      jakarta-tomcat-connectors/webapp/java/WarpLogger.java
  
  Index: WarpLogger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/java/WarpLogger.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- WarpLogger.java	2001/07/18 23:12:49	1.1
  +++ WarpLogger.java	2001/09/12 22:21:08	1.2
  @@ -119,13 +119,13 @@
       /** Log to the container logger with the specified level or to stderr */
       private void log(String msg, Exception exc, int lev) {
           if (this.container==null) {
  -            dump(msg,exc);
  +            if (Constants.DEBUG) dump(msg,exc);
               return;
           }
   
           Logger logg=this.container.getLogger();
           if (logg==null) {
  -            dump(msg,exc);
  +            if (Constants.DEBUG) dump(msg,exc);
               return;
           }
   
  
  
  

Mime
View raw message