Skip to content

Wrapping of log output results in a distorted output #3271

@rhuss

Description

@rhuss

System Info

LLS from main branch (post 0.2.19)

Information

  • The official example scripts
  • My own modified scripts

🐛 Describe the bug

Starting LLS server locally on a terminal with 120 chars width results in an output with empty lines

Image

This is due to a hardcoded wrapping of the log lines in

kwargs["console"] = Console(width=150)

I wonder whether we can avoid to always fill up loglines to 150 chars with trailing spaces, but just have a newline when the log line ends ?

Error logs

No error logs, for the error see the screenshot above.

Expected behavior

Just a regular log line that wraps at 150 if longer than 150 chars, but just end the line if shorter.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions