Only add file handler when running from command line
Merge pull request #2 from CenterForOpenScience/samanehsan-feature/mailchimp

Only add file handler when running from command line