How can i log less information with Gradle.useLogger()


(widwing) #1

In chapter 18 says: "You can replace much of Gradle’s logging UI with your own. You might do this, for example, if you want to customize the UI in some way - to log more or less information, or to change the formatting. You replace the logging using the Gradle.useLogger() method. " how can i log less information?


(Peter Niederwieser) #2

You’d have to explain in more detail what you are trying to achieve.


(widwing) #3

sorry. gradle do big log. i want that it ain’t logging some information. in simple words filtering log.


(Peter Niederwieser) #4

Default Gradle logging is very sparse. Only if you turn on info or debug logging does it become chatty. I’m not aware of a way to filter info or debug logging from within Gradle.