roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

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

Open tonecool opened this issue 1 year ago • 3 comments

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++

tonecool avatar Sep 16 '24 13:09 tonecool

For all platforms. No just Windows. Long line wrapped logs are pretty useless.

philip-hilton-maine avatar Mar 06 '25 16:03 philip-hilton-maine

It could be a simple toggle icon ↩ below 🕔, that says "(do not) wrap lines", with a horizontal scrollbar if needed.

Zamralik avatar Mar 19 '25 16:03 Zamralik

+1 We recently changed our logging library, and now every line is wrapped to take up 3+ lines, making everything incomprehensible at a glance. Just being able to disable line wrapping would be a tremendous improvement.

ThenTech avatar Mar 20 '25 12:03 ThenTech

I recently updated Docker Desktop for Windows and now see an option to disable line wrapping. Thank you.

tonecool avatar Aug 05 '25 09:08 tonecool