fix issue #26

Pull temp_dir variable on setup_logger function to config