Made logger print to unique file names to prevent multiple instances from writing to the same log.