Docker Community Forums

Share and learn in the Docker community.

How to display error logs (strerr) on the console GUI

I’m using Nest and logging errors using Logger.error() the issue is that the output is not displayed on the Docker Desktop GUI.

When I run the command ‘docker logs <container_name> -f’ I can see the error log. I read the documentation and tried to edit the docker engine settings with the option ‘log-level’: ‘fatal’ but it still does not display Logger.error() output, what can I do to display these logs in the container console?

Output from docker logs <container_name> -f:
image

The ‘LOGS’ tab from Docker Desktop does not show the error message, only warning and verbose.

1 Like

Issue was fixed after updating from Docker Desktop 3.3.3 to 3.4.0.