How to stop Jenkins log from becoming huge? -
recently jenkins.log has started getting large, quickly, full of exceptions dns resolution. attempted use logrotate, log file grows rotated, , eats disk space, causes various services fail because cannot write files anymore.
how avoid that?
you can disable logging of these dns errors adjusting logging settings within jenkins.
from jenkins web interface go to:
manage jenkins -> system log -> log levels (on left)
add following entry:
name: javax.jmdns level: off
this way can keep multicast dns feature without logging data.
Comments
Post a Comment