Package org.apache.avalon.framework.logger

Examples of org.apache.avalon.framework.logger.Logger.info()


        mockLog.expects(once()).method("info").with(eq("JUnit"), same(exception));

        if(logger.isInfoEnabled())
        {
            logger.info("JUnit");
            logger.info("JUnit", exception);
        }
    }

    /**
     * Test warn level.
View Full Code Here


        }
        app.enableLogging(log);
       
        //app.invokedStandalone = true;

        log.info("PFM Reader v1.1");
        log.info("");

        if (options.get("-ef") != null) {
            embFile = (String)options.get("-ef");
        }
View Full Code Here

        app.enableLogging(log);
       
        //app.invokedStandalone = true;

        log.info("PFM Reader v1.1");
        log.info("");

        if (options.get("-ef") != null) {
            embFile = (String)options.get("-ef");
        }
View Full Code Here

        public void info( final String message )
        {
            final Logger logger = getLogger();
            try
            {
                logger.info( message );
            }
            finally
            {
                releaseLogger();
            }
View Full Code Here

        public void info( final String message, final Throwable throwable )
        {
            final Logger logger = getLogger();
            try
            {
                logger.info( message, throwable );
            }
            finally
            {
                releaseLogger();
            }
View Full Code Here

            addBiDirGiopPolicy(_policyList, orb, config);

            if (isBiDirGiopEnabled(config) && _logger.isInfoEnabled())
            {
                _logger.info(BIDIR_GIOP_OPTION
                             + " is set:"
                             + " Will enable Bidirectional GIOP.");
            }
           
            org.omg.CORBA.Policy[] _policies = (org.omg.CORBA.Policy[]) _policyList
View Full Code Here

        public void info( final String message )
        {
            final Logger logger = getLogger();
            try
            {
                logger.info( message );
            }
            finally
            {
                releaseLogger();
            }
View Full Code Here

        public void info( final String message, final Throwable throwable )
        {
            final Logger logger = getLogger();
            try
            {
                logger.info( message, throwable );
            }
            finally
            {
                releaseLogger();
            }
View Full Code Here

        }
       
        public void execute(String jobname) {
            final Logger logger = m_manager.getLogger();
            if (logger.isInfoEnabled()) {
                logger.info("Reconnecting JMS connection: " + m_configuration.getName());
            }
            try {
                final Connection connection = m_manager.createConnection(m_configuration);
                m_manager.addConnection(m_configuration.getName(), connection);
                if (logger.isInfoEnabled()) {
View Full Code Here

            }
            try {
                final Connection connection = m_manager.createConnection(m_configuration);
                m_manager.addConnection(m_configuration.getName(), connection);
                if (logger.isInfoEnabled()) {
                    logger.info("Successfully reconnected JMS connection: " + m_configuration.getName());
                }
            }
            catch (NamingException e) {
                if (logger.isWarnEnabled()) {
                    logger.warn("Failed to reconnect.",e);
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.