protected static String getFileName ( final Map < String , String > properties ) { String fileName = properties . get ( "file" ) ; if ( fileName == null ) { throw new IllegalArgumentException ( "File name is missing for file writer" ) ; } else { return fileName ; } }
Extracts the log file name from configuration .