fix log call
Merge pull request #399 from Galithil/master

fix log call