Logging fixup