burp-ui with gunicorn - how to log internal msgs to stdout?
I'm working on Docker image with burp-ui and gunicorn, and I would like to print internal log messages to stdout, so the log msgs are consumable by Docker. I know that I can specify log file in create_app()
, like this: burpui:create_app(conf="/etc/burp/burpui.cfg", logfile="/dev/stdout")
but this doesn't work for me because /dev/stdout
is not a file, but socket, so it's not possible to call open()
on it. Do you know a way how this could be done?