title: Why does Jenkins log file size grows so much?
body: <p>I'm having a problem on my digital ocean server. Jenkins stops working after my droplet runs out of disk space. And what is causing this is the jenkins.log file that's growing to 15 GB in a couple of days. This is also causing the OS to lose the swap file.</p>
  
  <p>How can I debug the logging in Jenkins? Could this problem has to do with a bad implementation or configuration of my jobs?</p>
  
  <p>I've seen this is a problem for others, and normally people recommend <a href="https://wiki.jenkins-ci.org/display/JENKINS/Logfilesizechecker+Plugin" rel="nofollow noreferrer">this</a> which I don't understand much, why would I want to kill my build if things are going ok? Or does a build only logs when something goes wrong? Can the logging been disabled?</p>
  
  <p>EDIT -> I've already changed the log level, I think that might be enough for solving my problem. But the main question remains. What can be the cause of such a terrible amount of logs (15GB) in a couple of days.
  <a href="https://i.stack.imgur.com/ocnjk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ocnjk.png" alt="enter image description here"></a> </p>