Logging fix.