Package com.caucho.log

Examples of com.caucho.log.LogConfig


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


    out.setDisableClose(true);

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

    LogConfig log = new LogConfig();
    log.setName("");
    log.setPath(logPath);
    log.setLevel("all");
    log.init();

    if (System.getProperty("log.level") != null)
      Logger.getLogger("").setLevel(Level.FINER);
    else
      Logger.getLogger("").setLevel(Level.INFO);
View Full Code Here

TOP

Related Classes of com.caucho.log.LogConfig

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.