public int start ( ) { // Nasty hack to prevent warning messages when running from the command line NullAppender na = new NullAppender ( ) ; Logger . getRootLogger ( ) . addAppender ( na ) ; Logger . getRootLogger ( ) . setLevel ( Level . OFF ) ; Logger . getLogger ( ConfigurationUtils . class ) . addAppender ( na ) ; Logger . getLogger ( DefaultFileSystem . class ) . addAppender ( na ) ; try { Constant . getInstance ( ) ; } catch ( final Throwable e ) { System . err . println ( e . getMessage ( ) ) ; return 1 ; } Constant . setLowMemoryOption ( getArgs ( ) . isLowMem ( ) ) ; return 0 ; }
Starts the bootstrap process .