logfile location bug fix