put log info to a new file