Release 3.1.0
Fix logger so that it logs to the log file and not stderr.

Fixes #10