From 0eac238f9b1cb9383fa3539d644550411d0e9aec Mon Sep 17 00:00:00 2001 From: Zalim Bashorov Date: Tue, 29 Sep 2015 14:59:07 +0300 Subject: [PATCH] KotlinBuilder: improve logging --- .../src/org/jetbrains/kotlin/jps/build/KotlinBuilder.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jps-plugin/src/org/jetbrains/kotlin/jps/build/KotlinBuilder.kt b/jps-plugin/src/org/jetbrains/kotlin/jps/build/KotlinBuilder.kt index cede5205b5c..0658069ddef 100644 --- a/jps-plugin/src/org/jetbrains/kotlin/jps/build/KotlinBuilder.kt +++ b/jps-plugin/src/org/jetbrains/kotlin/jps/build/KotlinBuilder.kt @@ -91,9 +91,11 @@ public class KotlinBuilder : ModuleLevelBuilder(BuilderCategory.SOURCE_PROCESSOR override fun getCompilableFileExtensions() = arrayListOf("kt") override fun buildStarted(context: CompileContext) { + LOG.info("is Kotlin incremental compilation enabled: ${IncrementalCompilation.isEnabled()}") + val historyLabel = context.getBuilderParameter("history label") if (historyLabel != null) { - LOG.debug("Label in local history: $historyLabel") + LOG.info("Label in local history: $historyLabel") } }