We are trying to solve a problem where we want to remove sensitive data, like user credentials, from the log file. We know the right answer is to have test accounts used for this purpose, but thats not an option for us.
We were able to solve this issue with the --removekeywords flag, although it fails to remove data from the log if the keyword fails. It’s a little interesting because if use “–removekeywords all”, all keyword data gets removed including failures. But when we use “–removekeywords name:*” and a keyword fails, we can see all of its data and calls to other keywords.
Is there any way to prevent Robot from writing keyword data to the log on failures?