Replies: 1 comment 1 reply
-
That would work. If you want that, I'd suggest creating a subclass. Generally the path is so long that there wouldn't be any room for the log message. BTW if you have a terminal that supports hyperlinks you can hover over the path to see the full path. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
In my experience, it would be more beneficial to display the full path instead of the filename in the logs.
For example, it isn't easy to understand which library the log belongs to from only the filename.
From my understanding, it should be enough to change this line:
rich/rich/logging.py
Line 195 in 2ba277a
What do you think?
I am currently using the
record.name
insteadBeta Was this translation helpful? Give feedback.
All reactions