plugins/log: fix new-style logging.