support logging to a file if provided in the config

this PR brought to you by the department of supervisord is dumb.