Make logger log to a local file