Package com.caucho.log

Examples of com.caucho.log.LogHandlerConfig


    out.setDisableClose(true);

    EnvironmentStream.setStdout(out);
    EnvironmentStream.setStderr(out);

    LogHandlerConfig log = new LogHandlerConfig();
    log.setName("");
    log.setPath(logPath);
    log.init();

    Thread thread = Thread.currentThread();
    thread.setContextClassLoader(_system.getClassLoader());

    ThreadPool.getThreadPool().setIdleMin(4);
View Full Code Here


   
    try {
      if (! Alarm.isTest())
        thread.setContextClassLoader(ClassLoader.getSystemClassLoader());
     
      LogHandlerConfig log = new LogHandlerConfig();
      program.configure(log);
    } finally {
      thread.setContextClassLoader(loader);
    }
  }
View Full Code Here

TOP

Related Classes of com.caucho.log.LogHandlerConfig

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.