Hi,
I am evaluating Streamlit and trying to run the application locally. I want to have the debug logs from Streamlit so I tried the --logger.level debug
but Streamlit stops abruptly without any errors.
Code
import streamlit as st
st.write("TEST")
Streamlit execution,
C:\streamlit_code>py -3.9 -m streamlit run --logger.level debug test.py
2024-08-29 21:04:57.810 Starting server...
2024-08-29 21:04:57.810 Serving static content from C:\Python39\lib\site-packages\streamlit\static
2024-08-29 21:04:57.810 Server started on port 8501
2024-08-29 21:04:57.810 Runtime state: RuntimeState.INITIAL -> RuntimeState.NO_SESSIONS_CONNECTED
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501
Network URL: http://10.10.10.10:8501
2024-08-29 21:04:57.841 Setting up signal handler
2024-08-29 21:04:58.657 No singleton. Registering one.
2024-08-29 21:04:58.660 Watcher created for C:\streamlit_code\pages
2024-08-29 21:04:58.661 Watcher created for C:\streamlit_code\test.py
2024-08-29 21:04:58.661 AppSession initialized (id=f9076d8c-849b-4006-9785-1037682e69a8)
2024-08-29 21:04:58.661 Created new session for client 1754932815760. Session ID: f9076d8c-849b-4006-9785-1037682e69a8
2024-08-29 21:04:58.662 Runtime state: RuntimeState.NO_SESSIONS_CONNECTED -> RuntimeState.ONE_OR_MORE_SESSIONS_CONNECTED
C:\streamlit_code>
Streamlit version: 1.38.0
Python version: 3.9, 3.10
OS: Windows 10