Fix up the logger magic