After last update of DockerDesktop for MacOs (v.4.40.0) every lines in log are trimmed and it leads to unreadable debug logs!
Just as examples:
This is how I see the swagger print from Fastify printRoutes() method
You are on a Docker Community forum where most of us just community members, but I could reproduce the issue and see that while the logs are shown correctly from the command line, Docker Desktop removes the leading spaces.
I didn’t notice, because I always use the terminal, but if you want the developers to know about the bug, you can report it on GitHub
That was probably another, similar issue happening in the command line. I had newer versions than mentioned in the GitHub issue and logs were broken only on the GUI.
I actually shared this new issue in an internal channel one day before 4.41 was released, but it was most likely already fixed by then.