How to set log level to debug

How can I set log_level to ‘debug’ via the command line when starting the server? Below is my failed attempt. Thanks.

root@1ffe45d4b626:~/audbuild/2020_06_11_streamlit_audbuild# streamlit run audbuild.py --server.port=5001 --browser.serverAddress=0.0.0.0 --log_level=debug
Usage: streamlit run [OPTIONS] TARGET [ARGS]…
Try ‘streamlit run --help’ for help.

Error: no such option: --log_level

1 Like

Hi @dplutchok -

It’s a mistake in the message (I’ll file an issue about it separately), the proper command is streamlit run pt.py --global.logLevel=debug

Best,
Randy

1 Like