i ran my application for security compilance in veracode tool.
And whenever the tool find any logging it detected as a flaw in code
And the flaw says below quote
Improper Output Neutralization for Logs
Description
Function call could result in a log forging attack. Writing unsanitized user-supplied data into a log file allows an attacker to forge log entries or inject malicious content into log files. Corrupted log files can be used to cover an attacker's tracks or as a delivery mechanism for an attack on a log viewing or processing utility. For example, if a web administrator uses a browser-based utility to review logs, a cross-site scripting attack might be possible.**
In my logs i do print the xml coming from other interface ther is no GUI associated with the application so how i can neutralize this flaw.
Please let me know if this not the right forum to raise this question. Thanks