Log before flush
Just get dependencies
Merge pull request #51 from nordsieck/flog

Fix logging