Add safe_logging parameter.