Package org.sf.bee.commons.logging.configuration.elements

Examples of org.sf.bee.commons.logging.configuration.elements.LoggerElement


            return;
        }

        synchronized (_loggersElementCache) {
            for (Map.Entry<String, LoggerElement> entry : _loggersElementCache.entrySet()) {
                LoggerElement elem = entry.getValue();
                if (StringUtils.hasText(elem.getName())) {
                    Logger logger = Logger.getLogger(elem.getName());
                    Collection<HandlerElement> handlers = elem.getHandlers().values();
                    for (HandlerElement handler : handlers) {
                        HandlerElement solved = this.solveHandlerElement(handler);
                        this.closeHandler(logger, solved.getNativeClassName());
                    }
                }
View Full Code Here


    private void initLoggersCache(List<XmlNode> loggers) {
        if (null == loggers || loggers.isEmpty()) {
            return;
        }
        for (XmlNode loggerNode : loggers) {
            LoggerElement element = new LoggerElement(loggerNode, _defaultLevel, this.getOutputRoot());
            this.addLoggerElementToCache(element);
        }
    }
View Full Code Here

TOP

Related Classes of org.sf.bee.commons.logging.configuration.elements.LoggerElement

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.