Fixed empty logger for 27 and above

The logger lib was moved on 27, and that surfaced a bug in my logging
fallback. I could just move to the new logger, but I’ll leave that for
a new version.