docker / roadmap

Welcome to the Public Roadmap for All Things Docker! We welcome your ideas.
https://github.com/orgs/docker/projects/51
Creative Commons Zero v1.0 Universal
1.74k stars 261 forks source link

Option to disable word wrapping for container Logs in Docker Desktop for Windows #712

Open tonecool opened 2 months ago

tonecool commented 2 months ago

Tell us about your request These days, many of the services I work with use JSON-formatted logs, some of which can be quite long. Currently, Docker Desktop wraps container logs by default, which is not helpful in such cases, and there is no option to disable it. The only available option is to hide timestamps.

Could you please add an option to disable word wrapping? I don't need horizontal scroll bars or any other fancy updates—just the ability to disable wrapping, even if the entire log won't fit on the screen.

This would potentially improve performance as well. My Docker Desktop often gets stuck when there are a lot of DEBUG/TRACE logs.

Which service(s) is this request for? Docker Desktop for Windows

Are you currently working around the issue? Copying and pasting logs into Notepad++