From a4cffe9b9eeca6008a5c14b92ad567b38f9ac929 Mon Sep 17 00:00:00 2001 From: Alexey Tsvetkov Date: Fri, 17 Mar 2017 16:30:54 +0300 Subject: [PATCH] Improve daemon client debug reports Before this change a daemon client debug messages were printed only when the client could not connect and the 'kotlin.daemon.verbose' system property was set up. Now messages are printed if the debug logging is enabled and the 'kotlin.daemon.verbose' is set up. Original commit: 9819de1abd4539edb555b0c0e24f1a4090ef473f --- .../src/org/jetbrains/kotlin/compilerRunner/JpsKotlinLogger.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jps/jps-plugin/src/org/jetbrains/kotlin/compilerRunner/JpsKotlinLogger.kt b/jps/jps-plugin/src/org/jetbrains/kotlin/compilerRunner/JpsKotlinLogger.kt index eadd0f387cc..47aacea901f 100644 --- a/jps/jps-plugin/src/org/jetbrains/kotlin/compilerRunner/JpsKotlinLogger.kt +++ b/jps/jps-plugin/src/org/jetbrains/kotlin/compilerRunner/JpsKotlinLogger.kt @@ -34,4 +34,7 @@ internal class JpsKotlinLogger(private val log: Logger) : KotlinLogger { override fun debug(msg: String) { log.debug(msg) } + + override val isDebugEnabled: Boolean + get() = log.isDebugEnabled } \ No newline at end of file