Revert "fixed logging"

This reverts commit c611dc5115f0f02c9d4c7ae27a7a486ef5c44d46.