logger = Logger.getLogger( "plumbing.init" ); Handler handler = new ConsoleHandler();     handler.setLevel( Level.INFO ); logger.addHandler( handler );
String val = System.getProperty("show-config"); logLevel = Level.INFO; if ( val != null ) { if ( "ALL".equals(val)) logLevel = Level.ALL; if ( "CONFIG".equals(val)) logLevel = Level.CONFIG; if ( "FINE".equals(val)) logLevel = Level.FINE; if ( "FINER".equals(val)) logLevel = Level.FINER; if ( "FINEST".equals(val)) logLevel = Level.FINEST; if ( "INFO".equals(val)) logLevel = Level.INFO; if ( "OFF".equals(val)) logLevel = Level.OFF; if ( "SEVERE".equals(val)) logLevel = Level.SEVERE; if ( "WARNING".equals(val)) logLevel = Level.WARNING; }
    private Configuration() {        // We need to create our logger with a separate ConsoleHandler        // because the regular one is initialized using the Configuration        // class--unfortunately, this means we can't control the output        // without recompiling.        logger = Logger.getLogger( "plumbing.init" );        Handler handler = new ConsoleHandler();        // Change this value if you want more detail about the        // Configuration load--e.g. FINER for details on what        // the properties are, what overrides are in place        handler.setLevel( Level.INFO );        logger.addHandler( handler );        loadDefaultProperties();        loadOverrideProperties();        loadSystemProperties();        logAfterLoad();    }