log = (Logger) loggerMap.get (f); if (log == null)
log = (Logger) loggerMap.get (file.getCanonicalPath()); if (log == null || log.isClosed ())
    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;    }