tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/util/qlog LogDaemon.java
Date Mon, 23 Apr 2001 00:19:49 GMT
costin      01/04/22 17:19:49

  Modified:    src/share/org/apache/tomcat/util/qlog LogDaemon.java
  Log:
  Don't start if already started.
  
  Revision  Changes    Path
  1.2       +3 -0      jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/LogDaemon.java
  
  Index: LogDaemon.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/qlog/LogDaemon.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- LogDaemon.java	2001/04/21 18:23:54	1.1
  +++ LogDaemon.java	2001/04/23 00:19:49	1.2
  @@ -78,6 +78,9 @@
       }
   
       public void start() {
  +	// already running
  +	if( logDaemonThread!=null) return;
  +	
   	logQueue = new Queue();
   	logDaemonThread=new Thread(this);
   	logDaemonThread.setName("QueueLogDaemon");
  
  
  

Mime
View raw message