Logging fix

@jdoconnor