[Daemon] Improve some daemon log messages
A few messages were improved: * If the daemon process died at the startup, add its last 10 lines of the output to the log and report to the EXCEPTION (ERROR in the case of Gradle) level * If some exception occurs during connection attempt, add its stacktrace and report to the EXCEPTION (ERROR in the case of Gradle) level * Added more DEBUG level messages * Some important messages are moved to the INFO level * Added a suggestion to report issue to kotl.in/issue ^KT-55322 Fixed
This commit is contained in:
committed by
Space Team
parent
95bc49054f
commit
b000b66ef7
+1
-1
@@ -95,7 +95,7 @@ object KotlinCompilerRunnerUtils {
|
||||
if (connection == null || isDebugEnabled) {
|
||||
for (message in daemonReportMessages) {
|
||||
val severity = when (message.category) {
|
||||
DaemonReportCategory.DEBUG -> CompilerMessageSeverity.INFO
|
||||
DaemonReportCategory.DEBUG -> CompilerMessageSeverity.LOGGING
|
||||
DaemonReportCategory.INFO -> CompilerMessageSeverity.INFO
|
||||
DaemonReportCategory.EXCEPTION -> CompilerMessageSeverity.EXCEPTION
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user