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.

This article is part of our Knowledge Base and is provided for guidance-based purposes only. The solutions or workarounds described here are not officially supported by CloudBees and may not be applicable in all environments. Use at your own discretion, and test changes in a safe environment before applying them to production systems.