Package org.apache.tomcat.util.qlog

Examples of org.apache.tomcat.util.qlog.LogDaemon


      logManager=new TomcatLogManager();
      cm.setNote("tc.LogManager", logManager);
      Log.setLogManager( logManager );
  }

  LogDaemon logDaemon=(LogDaemon)cm.getNote("tc.LogDaemon");
  if( logDaemon==null ) {
      logDaemon=new LogDaemon();
      cm.setNote( "tc.LogDaemon", logDaemon );
      logDaemon.start();
  }
 
  if( name==null ) {
      if( servletLogger )
    name="org/apache/tomcat/facade";
View Full Code Here


    public void engineInit( ContextManager cm )
  throws TomcatException
    {
  // make sure it's started
  LogDaemon logDaemon=(LogDaemon)cm.getNote("tc.LogDaemon");
  logDaemon.start();
    }
View Full Code Here

  if( debug > 0 ) log( "Stopping the logger " + name);
  cm.getLog().flush();
  if( ql!=null ) ql.flush();
  // engineShutdown shouldn't be called on local modules anyway !

  LogDaemon logDaemon=(LogDaemon)cm.getNote("tc.LogDaemon");
  if( logDaemon!=null ) {
      try{
    logDaemon.stop();
      } catch( Exception ex ) {
    ex.printStackTrace();
      }
      //      cm.setNote( "tc.LogDaemon", null );
  }
View Full Code Here

TOP

Related Classes of org.apache.tomcat.util.qlog.LogDaemon

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.