fix logging againw
Merge pull request #168 from maraoz/fix/logging

fix logging again