Slight changes to logging of vulnerabilities