GC Log file not found

Issue

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

Environment

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

References

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.