Hello, we are having a strange behavior when Gradl...
# community-support
á
Hello, we are having a strange behavior when Gradle is printing in logger, every line is tagged as exception. We have a compiler plugin that logs on info level, but Gradle is printing it as exception:
Copy code
exception: info: @MyAnnotation not applied to class.
Or a KSP plugin is the same:
Copy code
exception: info: [ksp] loaded provider(s): [com.squareup.moshi.kotlin.codegen.ksp.JsonClassSymbolProcessorProvider]
Even with Kotlin logging itself:
```exception: MyClassTest.kt3521: warning: this declaration needs opt-in. Its usage should be marked with '@kotlinx.coroutines.ExperimentalCoroutinesApi' or '@OptIn(kotlinx.coroutines.ExperimentalCoroutinesApi::class)'
exception: Dispatchers.setMain(UnconfinedTestDispatcher())```
We have the same configuration for various projects, but it happens only on a few, not every project. Any idea on why this is happening, thanks?
v
Please don't cross-post to multiple channels or slacks, that wastes the time of anyone reading the message multiple times and splits discussions. So, as I said on the Kotlin Slack. What makes you think this is a Gradle issue? I don't think Gradle prefixes any line with "exception:" ever.