fix logging
Merge pull request #167 from maraoz/fix/logging

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

fix logging again