jeremymailen / kotlinter-gradle

Painless, fast ktlint plugin for Gradle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disabling formatting logs

jplewa opened this issue · comments

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.

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.