jeremymailen / kotlinter-gradle

Painless, fast ktlint plugin for Gradle
Apache License 2.0
597 stars 50 forks source link

Disabling formatting logs #315

Closed jplewa closed 1 year ago

jplewa commented 1 year ago

Is there an option to disable the output of formatKotlin? I'm talking about all of these logs:

image

We use your plugin to format some generated source files that are then included in a library published to Maven. We use custom GitHub Actions runners which are hosted on GCP and having all of these logs printed out to stdout ends up costing us extra money. We don't need the output of formatKotlin at all, so it would be awesome if there was an option to disable it.

jeremymailen commented 1 year ago

They were being logged at QUIET level which makes them hard to turn off. In #317 we've changed it to WARNING so that they are still shown by default but can be toggled off via gradle -q.