enable errors logging to a file
Merge pull request #123 from python/file-logging

enable errors logging to a file