Package org.jboss.logging

Examples of org.jboss.logging.Logger.warn()


            logger.info(msg, th);
         }
         else if (level == Level.WARNING)
         {
            String msg = getMessage(record);
            logger.warn(msg, th);
         }
         else if (level == Level.SEVERE)
         {
            String msg = getMessage(record);
            logger.error(msg, th);
View Full Code Here


        Logger log = Logger.getLogger(categoryName);
        PrintWriter logWriter = new LoggerPluginWriter(log.getLoggerPlugin());
        try {
            poolingStrategy.getManagedConnectionFactory().setLogWriter(logWriter);
        } catch (ResourceException re) {
            log.warn("Unable to set log writer '" + logWriter + "' on " + "managed connection factory", re);
            log.warn("Linked exception:", re.getLinkedException());
        }

        if (poolingStrategy instanceof PreFillPoolSupport) {
            PreFillPoolSupport prefill = (PreFillPoolSupport) poolingStrategy;
View Full Code Here

        PrintWriter logWriter = new LoggerPluginWriter(log.getLoggerPlugin());
        try {
            poolingStrategy.getManagedConnectionFactory().setLogWriter(logWriter);
        } catch (ResourceException re) {
            log.warn("Unable to set log writer '" + logWriter + "' on " + "managed connection factory", re);
            log.warn("Linked exception:", re.getLinkedException());
        }

        if (poolingStrategy instanceof PreFillPoolSupport) {
            PreFillPoolSupport prefill = (PreFillPoolSupport) poolingStrategy;
            if (prefill.shouldPreFill()) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.