Switch logging to separate file