I have a custom log_message listener that I use to filter certain log messages. My issue is that when I use Builtin().run_keyword() inside of a python module, the log_message listener fails to get triggered. I thought using register_run_keyword() would help, but it doesn’t seem to help my problem.
Is there any mechanism I can use to trigger the log_message listener function when using Builtin().run_keyword()?
I had better luck using the output_file listener rather than the log_message. My whole intent was to filter obfuscate certain strings in the logs, and the output_file listener seemed to serve that purpose better than log_message.