Error (logs) in streamlit cloud but nothing in localhost

Summary

Hi,

I am facing an error in streamlit cloud which is related to unique key for Download widget.

But this is not really my problem here because I think that I’m able to resolve it with the unique key argument

The thing is that I don’t have this log error in my localhost while the app is running on the same repository.

Is there anything to unlock to display more logs in localhost ? Because I don’t want to debug from the main branch.

Debug info

  • Streamlit version: 1.13.0
  • Python version: 3.9.2

Thanks for support !

Valentin

Hey @Sanji-moku, can you share a code snippet so we can try to reproduce the lack of error messages?

Hi @Sanji-moku :wave:

Welcome to the Streamlit forum!

Take a look at Streamlit’s configuration options:

Specifically, experiment with various values (e.g. error, debug, etc) for logger.level option. You can either set the config option in a global/per-project .streamlit/config.toml file:

[logger]
level = "debug"

or as a command-line flag:

E.g. 1

streamlit run app.py  --logger.level=debug

E.g. 2

streamlit run app.py  --logger.level=error