question: public static File findConfigInWorkingDirectory ( ) { for ( final String suffix : SUFFIXES ) { final File configFile = new File ( System . getProperty ( "user.dir" ) , PREFIX + suffix ) ; if ( configFile . isFile ( ) ) { return configFile ; } } return null ; }
target:  Finds a Log4j configuration file in the current working directory. The names of the files to look for are the same as those that Log4j would look for on the classpath.