Issue
-
A warning pops up with the following message:
WARNING: [Support Bundle] GC Logging apparently configured, but file '/var/log/jenkins/gc.log' not found
Environment
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Managed controller
-
CloudBees CI (CloudBees Core) on modern cloud platforms - Operations Center
-
CloudBees CI (CloudBees Core) on traditional platforms - Client controller
-
CloudBees CI (CloudBees Core) on traditional platforms - Operations Center
Resolution
-
Enable the log rotation. To do so, add the following parameters to the Java setting:
-XX:NumberOfGCLogFiles=2
-XX:+UseGCLogFileRotation
-XX:GCLogFileSize=100m
-
Restart the Jenkins instance