Backend Web App "uvicorn" logger not working #818
Unanswered
supplemarty
asked this question in
Morning (EST) Office Hours (Q&A)
Replies: 1 comment
-
We have not observed this, but have also not explicitly tested it either. If you would like additional assistance on this, please file an Issue and it will get triaged along with other Issues. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The backend (and enrichment) web apps use the "uvicorn" logger as seen here:
log = logging.getLogger("uvicorn") log.setLevel('DEBUG') log.propagate = True
When I use this log variable in the backend code for debug tracing like:
log.debug("HELLO WORLD")
those log entries do not show up in the log stream NOR application insights but in the enrichment app this same pattern seems to be working fine.
I setup my own logger using the StreamHandler, and it works as I would expect. I cannot see where uvicorn is getting its logging dict configuration in the azure web app configuration. Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions