Revert "Fix logging method"

This reverts commit 00d4e82a1e5602c326f4a1965999e6c21b0a0803.