Search code examples
jenkinsdiskspace

Disable Jenkins Log File Usage


Jenkins has the cool perk of logging almost everything that happens during your build process. Right now everything is logged in /var/log/jenkins/jenkins.log.

After regular periods, this file grow to more than 400 GB in space.

Is there any way to disable this "feature"? As the system the system is used company internally, I would'nt mind, disabling logging at all.

Thanks for your help!


Solution

  • Jenkins logging is highly configurable, so you can turn off logging for packages that you;re not interested in. The configuration is done at:

    $JENKINS_URL/log/

    documentation is at https://wiki.jenkins-ci.org/display/JENKINS/Logging