Package org.apache.log

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


  {
      case LogSystem.WARN_ID:
    logger.warn(message);
    break;
      case LogSystem.INFO_ID:
    logger.info(message);
    break;
      case LogSystem.DEBUG_ID:
    logger.debug(message);
    break;
      case LogSystem.ERROR_ID:
View Full Code Here


    break;
      case LogSystem.ERROR_ID:
    logger.error(message);
    break;
      default:
    logger.info(message);
    break;
        }
    }
}
View Full Code Here

    {
        case LogSystem.WARN_ID:
        logger.warn(message);
        break;
        case LogSystem.INFO_ID:
        logger.info(message);
        break;
        case LogSystem.DEBUG_ID:
        logger.debug(message);
        break;
        case LogSystem.ERROR_ID:
View Full Code Here

        break;
        case LogSystem.ERROR_ID:
        logger.error(message);
        break;
        default:
        logger.info(message);
        break;
        }
    }
}
View Full Code Here

                        super.println(s);
                        if ( DEBUG_PROTOCOL )
                            logger.debug("S: "+s);
                    }
                };
            logger.info( "Connection from " + socket.getInetAddress());
        } catch (Exception e) {
            logger.error( "Cannot open connection from: " + e.getMessage(), e );
        }

        try {
View Full Code Here

            reader.close();
            writer.close();
            socket.close();
            scheduler.removeTrigger(this.toString());
            logger.info("Connection closed");
        } catch (Exception e) {
            doQUIT();
            //writer.println("502 Error closing connection.");
            //writer.flush();
            logger.error( "Exception during connection:" + e.getMessage(), 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

        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.