[jira] [Created] (OFBIZ-12085) Gradle logging hygiene

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (OFBIZ-12085) Gradle logging hygiene

Nicolas Malin (Jira)
Jacques Le Roux created OFBIZ-12085:
---------------------------------------

             Summary:  Gradle logging hygiene
                 Key: OFBIZ-12085
                 URL: https://issues.apache.org/jira/browse/OFBIZ-12085
             Project: OFBiz
          Issue Type: Improvement
          Components: Demo
            Reporter: Jacques Le Roux
            Assignee: Jacques Le Roux


Hi,

Some times ago, (before we had to shutdown the demos for a while for a security reason, it's unrelated but) we were (also) forced to stop and quickly restart the demos because of the Gradle daemons logging taking all the place; though we don't use Gradle daemons in demos. Weird isn't ?

The reason is that by default org.gradle.logging.level=lifecycle is verbose. Anyway, all org.gradle.logging.level are verbose. I mean they also duplicate OFBiz information, have a look into your own Gradle daemon dir!

And that even if you don't use daemons, as we do for demos. Because Gradle always uses at least 1 daemon to run.

So I was looking for a solution to not uselessly clutter the VM disk demos and stumbled upon Gradle logging hygiene -  Issue #2688 -  gradle/gradle (github.com)

I have created to use  the same solution than Evgeny Naumenko at https://discuss.gradle.org/t/gradle-daemon-produces-a-lot-of-logs/9905

I'll commit in a week if nobody is against

Jacques



--
This message was sent by Atlassian Jira
(v8.3.4#803005)