Merge pull request #3 from sebgregoire/1.1

debug logging to file
Merge remote-tracking branch 'upstream/1.1' into 1.1