Hopefully last fix for logging.