Fixup logging to not break mason ui (broken with 2c933c5)