Skip to content

Unreadable console output #2094

Answered by Serallan
Serallan asked this question in Q&A
Discussion options

You must be logged in to vote

I'm a doofus and posted in the wrong project. This would be more appropriate in /sd-scripts. Anyway, if someone coming from the search ends up here know this is the culprit: RichHandler()

Since only paths were broken I fixed it by tweaking the setup_logging() function at /sd-scripts/library/utils.py. I don't need them, thus I simply omitted paths by changing

                handler = RichHandler(console=Console(stderr=True))

to

                handler = RichHandler(console=Console(stderr=True), show_path=False)

Whew, the output is so much nicer!

EDIT: Alternatively you can use --console_log_simple. This argument has been around for a while, but was first mentioned in the docs now in Ap…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Serallan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant