Revert "adjusted to new logging API"

This reverts commit d99105f485a90ecf2c1d122b823e9d33330958e2.