You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement logging in my python (FastAPI) web app with severity levels and deploy in Heroku and Papertrail's log drain add-on. However, with python's logging module as configured below:
Specifically, I wish to get the same type of logging format, as shown in the output line with the green INFO. This allows me to filter these severity levels through Papertrail as well.
However, even with the python's logging config above, in Papertrail, the std output is still categorized as under INFO even though it is a WARNING log, as seen in the picture below.
If everything is under INFO type log in the Heroku console and logs, I can't filter them in log drains.
Any help on this?
The text was updated successfully, but these errors were encountered:
I'm trying to implement logging in my python (FastAPI) web app with severity levels and deploy in Heroku and Papertrail's log drain add-on. However, with python's logging module as configured below:
Specifically, I wish to get the same type of logging format, as shown in the output line with the green
INFO
. This allows me to filter these severity levels through Papertrail as well.However, even with the python's logging config above, in Papertrail, the std output is still categorized as under
INFO
even though it is aWARNING
log, as seen in the picture below.If everything is under
INFO
type log in the Heroku console and logs, I can't filter them in log drains.Any help on this?
The text was updated successfully, but these errors were encountered: