tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lar...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/log LogHandler.java
Date Mon, 31 Dec 2001 20:48:56 GMT
larryi      01/12/31 12:48:56

  Modified:    src/share/org/apache/tomcat/util/log LogHandler.java
  Log:
  Specify autoFlush=true for the PrintWriter so the output doesn't just sit
  in a buffer.  This logger is most likely to be used when a configuration
  error prevents normal startup. In this case, autoflush ensures the log output
  will be visible.
  
  Revision  Changes    Path
  1.3       +1 -1      jakarta-tomcat/src/share/org/apache/tomcat/util/log/LogHandler.java
  
  Index: LogHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/log/LogHandler.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- LogHandler.java	21 Aug 2001 04:52:17 -0000	1.2
  +++ LogHandler.java	31 Dec 2001 20:48:56 -0000	1.3
  @@ -150,7 +150,7 @@
       // -------------------- Default sink
       
       protected static PrintWriter defaultSink =
  -	new PrintWriter( new OutputStreamWriter(System.err));
  +	new PrintWriter( new OutputStreamWriter(System.err), true);
   
       /**
        * Set the default output stream that is used by all logging
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message