Removing some log messages

Is there any way to stop some internal logging messages? I started logging messages from my application and while all the logs I request are getting sent, after 1 week I am also getting 231k log messages for:

[streamlit.web.server.routes.HealthHandler.get]

Is there any way to limit streamlit messages like that?

I am using the Python logging library and sentry-sdk. My app is https://conversation.streamlit.app/.

If it is not possible can I get more information about these streamlit.web.server logs? Thank you.

Hello,
you can adjust the log level of Streamlitโ€™s logger using the Python logging library.Like below
logging.getLogger(โ€œstreamlitโ€).setLevel(logging.WARNING)

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.