live._enable_redirect_io
doesn't seem to work for python logger instantiated outside of the Live
context manager
#2894
Replies: 1 comment
-
nvm, I think it's a problem of how our internal python loggers are configured! |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to figure out how to integrate Rich into our existing application, which heavily relies on python logging. We want to leverage Rich's Live feature to display a live table in conjunction with the original python logging in the application.
What I have noticed is that python loggers instantiated within Live context manager have IO redirect correctly. However, those instantiated earlier will not be redirected.
Is this a known issue? Is there any workaround? It would be hard for me to promote Live context manager to the top layer encapsulating everything.
Beta Was this translation helpful? Give feedback.
All reactions