only use basename for the log file