Package org.apache.uima.ducc.common.utils

Examples of org.apache.uima.ducc.common.utils.DuccLogger


    void initClasses(String filename)
    {
      String methodName = "initClasses";
        String me = Scheduler.class.getName() + ".Config";
        DuccLogger initLogger = new DuccLogger(me, COMPONENT_NAME);
        NodeConfiguration nc = new NodeConfiguration(filename, initLogger);
    try {
      nc.readConfiguration();
    } catch (Throwable e) {
            logger.error(methodName, null, e);
View Full Code Here


    super("");

        /**
         * Initialize the DuccLogger AFTER the properties are set.
         */
        logger = new DuccLogger(DuccService.class);   
       
        //  Plugin UncaughtExceptionHandler to handle OOM and any
        //  unhandled runtime exceptions
        Thread.currentThread().setUncaughtExceptionHandler(this);
  }
View Full Code Here

    // Fetch uima logger and inject UIMALogFormatter to show thread ids
    // Logger l = java.util.logging.Logger.getLogger("org.apache.uima");
    // ConsoleHandler ch = new ConsoleHandler();
    // ch.setFormatter(new UIMALogFormatter());
    // l.addHandler(ch);
    logger = new DuccLogger(DuccService.class);
  }
View Full Code Here

TOP

Related Classes of org.apache.uima.ducc.common.utils.DuccLogger

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.