Fixed bug with unassigned log function + reduced logging amount
Merge pull request #2 from anissen/master

Quick fix of unassigned log function