GC Log file not found

Article ID:360025644191
1 minute readKnowledge base


  • A warning pops up with the following message: WARNING: [Support Bundle] GC Logging apparently configured, but file '/var/log/jenkins/gc.log' not found


  • 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