Package org.apache.log

Examples of org.apache.log.Logger.info()


    protected void test()
    {
        Logger log1 = m_lkm.getLogger( "cocoon" );
        log1.debug( "this is the cocoon logger" );
        log1.info( "this is the cocoon logger" );
        log1.info( "this is the cocoon logger" );
        Logger log2 = log1.getChildLogger( "classloader" );
        log2.debug( "this is the childlogger classloader of the cocoon logger" );
        log2.info( "this is the childlogger classloader of the cocoon logger" );
        Logger log3 = m_lkm.getLogger( "cocoon.classloader" );
View Full Code Here


    protected void test()
    {
        Logger log1 = m_lkm.getLogger( "cocoon" );
        log1.debug( "this is the cocoon logger" );
        log1.info( "this is the cocoon logger" );
        log1.info( "this is the cocoon logger" );
        Logger log2 = log1.getChildLogger( "classloader" );
        log2.debug( "this is the childlogger classloader of the cocoon logger" );
        log2.info( "this is the childlogger classloader of the cocoon logger" );
        Logger log3 = m_lkm.getLogger( "cocoon.classloader" );
        log3.debug( "this is the cocoon.classloader logger" );
View Full Code Here

        log1.debug( "this is the cocoon logger" );
        log1.info( "this is the cocoon logger" );
        log1.info( "this is the cocoon logger" );
        Logger log2 = log1.getChildLogger( "classloader" );
        log2.debug( "this is the childlogger classloader of the cocoon logger" );
        log2.info( "this is the childlogger classloader of the cocoon logger" );
        Logger log3 = m_lkm.getLogger( "cocoon.classloader" );
        log3.debug( "this is the cocoon.classloader logger" );
        log3.info( "this is the cocoon.classloader logger" );
        Logger log4 = m_lkm.getLogger( "foo" );
        log4.debug( "this is the foo logger" );
View Full Code Here

        Logger log2 = log1.getChildLogger( "classloader" );
        log2.debug( "this is the childlogger classloader of the cocoon logger" );
        log2.info( "this is the childlogger classloader of the cocoon logger" );
        Logger log3 = m_lkm.getLogger( "cocoon.classloader" );
        log3.debug( "this is the cocoon.classloader logger" );
        log3.info( "this is the cocoon.classloader logger" );
        Logger log4 = m_lkm.getLogger( "foo" );
        log4.debug( "this is the foo logger" );
        log4.info( "this is the foo logger" );
    }
View Full Code Here

        Logger log3 = m_lkm.getLogger( "cocoon.classloader" );
        log3.debug( "this is the cocoon.classloader logger" );
        log3.info( "this is the cocoon.classloader logger" );
        Logger log4 = m_lkm.getLogger( "foo" );
        log4.debug( "this is the foo logger" );
        log4.info( "this is the foo logger" );
    }

    /** Return the logger */
    protected Logger getLogger()
    {
View Full Code Here

            put.invoke(settings, new Object[]{key, "true"});

            // format and overwrite the given input file
            Method format = clazz.getMethod("format", new Class[]{});
            format.invoke(prettifier, new Object[]{});
            logger.info("prettyprinted " + file);
        } catch (ClassNotFoundException e) {
            logger.debug("unable to prettyprint: " + file, e);
        } catch (Exception e) {
            logger.debug("unable to prettyprint: " + file, e);
        } catch (Throwable t) {
View Full Code Here

            log = JGossipLog.getInstance().getAppLogger();
        } catch (SystemException e) {
            throw new ServletException(e);
        }
        if (log.isInfoEnabled()) {
            log.info("init is started");
        }
        ServletContext app = servlet.getServletContext();
        app.setAttribute(IConst.CONTEXT.LAST_UPDATE_DATE, new Date());
        app.setAttribute(IConst.CONTEXT.MAIL_QUEUE, new MailQueue(
                new MailProcessor()));
View Full Code Here

                break;
            case LogLevel.WARN_INT:
                logger.warn(message, t);
                break;
            case LogLevel.INFO_INT:
                logger.info(message, t);
                break;
            default:
                logger.debug(message, t);
            }
        } catch (SystemException e) {
View Full Code Here

                break;
            case LogLevel.WARN_INT:
                logger.warn(message);
                break;
            case LogLevel.INFO_INT:
                logger.info(message);
                break;
            default:
                logger.debug(message);
            }
        } catch (SystemException e) {
View Full Code Here

        final NormalizedJDBCTarget target =
            new NormalizedJDBCTarget( dataSource, "log_entrys2", columns );

        final Logger logger = getNewLogger( target );
        logger.debug( "Hello" );
        logger.info( "Hello info" );
        logger.error( "Hello error" );
        logger.fatalError( "Hello fatalError" );
    }

    private Logger getNewLogger( final LogTarget target )
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.