Fixes the backward-compatible logger