Merge pull request #399 from Galithil/master

fix log call