mikepenz / AboutLibraries

AboutLibraries automatically collects all dependencies and licenses of any gradle project (Kotlin MultiPlatform), and provides easy to integrate UI components for Android and Compose-jb environments

Home Page:http://mikepenz.github.io/AboutLibraries/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to silence logging?

stkent opened this issue · comments

About this issue

When this plugin's prepareLibraryDefinitions task is run, we see lots of build output like:

> Task :app:prepareLibraryDefinitionsDebug
--> Retrieved POM for: com.atlassian.commonmark:commonmark from com.atlassian.commonmark:commonmark-parent:0.13.0
----> Retrieved POM for: com.atlassian.commonmark:commonmark from com.atlassian.pom:central-pom:5.0.13
------> Retrieved POM for: com.atlassian.commonmark:commonmark from com.atlassian.pom:base-pom:5.0.13
...
...
...

We like to minimize such output as it makes identifying newly-introduced warnings easier.

Is there a way to disable this output? (I scanned docs, but didn't see anything; apologies if I missed something!)

Details

Library version 10.6.2.

Checklist

Actually this looks like a bug as this uses a println statement instead of the LOGGER.info tag it's supposed to:

Would that solve the need? (E.g. have INFO log level for that item)

(Also to answer the pure question, there is no setting or option to fully turn off logs at this time)

Ah, yes, I suspect that using the logger and marking this output as informational would be perfect; I'm pretty sure we only log statements that are warnings or more severe!

This will be adjusted in the next update. Thanks for reporting!

Thank you for the quick response!