Replies: 3 comments 4 replies
-
You can always attach a normal stream handler to the |
Beta Was this translation helpful? Give feedback.
-
@cachitas It's not common practice to have ansi codes in log statements. I don't think that the Werkzeug devs anticipated anyone would want to configure their dev server with a different terminal logger. If you really can't live without the RichHandler you could extend it to process ansi codes with the |
Beta Was this translation helpful? Give feedback.
-
After digging a bit more on this, I found that Turns out Here they patch So in the end, for people using I would like to welcome @trbs to join the discussion or point someone else from the project who could shed some light on the matter. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am facing an issue using
rich.logging.RichHandler
with Django and werkzeug.The details were covered in the werkzeug repository, see pallets/werkzeug#2340.
In a way I agree with @davidism, but I would like to know what you guys here think about it.
Is there a way of tackling this with rich that I am missing?
Could rich automatically detect these ANSI sequences? Is this something worth pursuing?
Beta Was this translation helpful? Give feedback.
All reactions