CloudBees Core CI logs default location

1 minute readKnowledge base

This document describes the default location for the CI log files depending on the type of installation.

Resolution

The logs are usually stored inside a file in the CloudBees Core CI instance’s filesystem. Depending on the installation, the default location will be different. Additionally, the location can be further customized during the installation:

For Traditional Platforms

For RPM/DEB/Zypper installation under Linux distributions

The default location for the CloudBees Core CI logs for the main packages managers (RPM, DEB and Zypper) under the main Linux distributions (RedHat, CentOS, Ubuntu, Debian and OpenSuse) will be the same:

/var/log/cloudbees-core-oc/cloudbees-core-oc.log // For CloudBees Core CI Operation Center /var/log/cloudbees-core-cm/cloudbees-core-cm.log // For CloudBees Core CI Client Controller

For Windows installations

The default location for the CloudBees Core CI logs when we install the instance into a Windows machine (using the Windows installer), the log file will depend on the path where we installed the Jenkins instance. The logs will be located at the root folder of the Jenkins installation:

$JENKINS_HOME/jenkins.err

For Docker installations

In case we use a container for the Jenkins installation, the easiest way to capture the logs is to use docker’s log command:

docker logs $CONTAINER_ID

For Modern Platforms

In case we are installing CloudBees CI under Kubernetes, the easiest way to capture the logs kubectl’s log command:

kubectl logs $POD_NAME