I have a command like this:
s5cmd --log debug -r 5 cat s3:/${in_path}/manifest.safe > "$manifest_data_file"
xmlstarlet sel -t -m '...' -v 's1:ascendingNodeTime' "$manifest_data_file"
When running, a DEBUG statement gets in the output and breaks the XML:
/tmp/tmp.mG42gULExq:1.1: Start tag expected, '<' not found
DEBUG retryable error: ServiceUnavailable: Service Unavailable
^
It also happens with --debug trace
A fix like this could help: #663
Is there an alternative? Changing all occurrences of cat to cp might be a bit involved