We’re using gradle daemon for some time and are quite happy with it, as it significantly speeds up the build.
It turned out, however, that gradle daemon logs every build within ~/.gradle/daemon/2.4/daemon-XXXX.out and these files are never cleared. Given that our build produces ~250M of debug output, these logs may ate up the entire partition, just like like it happened on our build server today. Of course it’s possible to remove-d option from buildserver builds, but I’d prefer to keep it to ease failed builds investigation.
Q: Is there a way I can prevent gradle daemon from logging into it’s own folder? Or at least enforce some policy to rotate/cleanup these files?