Where is the log for Jenkins controller docker container stored?

Article ID:222596208
1 minute readKnowledge base

Issue

Looking for the location of the log for the Jenkins controller docker container. Where is that by default?

Environment

Resolution

Logging is done to stdout so you can use your preferred logging system based on docker log driver. With default docker installation you can access logs with docker logs containerID, but can also send logs to syslog, logstash or compatible log systems.