File f = new File (dirname, filename);
if (filename == null || dirname == null) throw new IOException ("Logger can't use null as file or directory name"); File file = new File (dirname, filename+".log");
    public static synchronized Logger getLogger (String dirname, String filename) throws IOException {	File f = new File (dirname, filename);	Logger log = null;	if (loggerMap != null)	    log = (Logger) loggerMap.get (f);	if (log == null)	    log = new Logger (dirname, filename);	return log;    }