From dbff38bacb25fc3021bbdd67ac25762bc0b0d30f Mon Sep 17 00:00:00 2001 From: Ignat Beresnev Date: Mon, 20 Feb 2023 21:34:12 +0100 Subject: Change default logging level of console apps (#2871) --- .../cli/src/main/kotlin/org/jetbrains/dokka/GlobalArguments.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'runners/cli/src/main') diff --git a/runners/cli/src/main/kotlin/org/jetbrains/dokka/GlobalArguments.kt b/runners/cli/src/main/kotlin/org/jetbrains/dokka/GlobalArguments.kt index 2bda8d79..29b57b72 100644 --- a/runners/cli/src/main/kotlin/org/jetbrains/dokka/GlobalArguments.kt +++ b/runners/cli/src/main/kotlin/org/jetbrains/dokka/GlobalArguments.kt @@ -120,13 +120,13 @@ class GlobalArguments(args: Array) : DokkaConfiguration { "WARN" -> LoggingLevel.WARN "ERROR" -> LoggingLevel.ERROR else -> { - println("""Failed to deserialize logging level, got $it expected one of - |"DEBUG", "PROGRESS", "INFO", "WARN", "ERROR", falling back to DEBUG""".trimMargin()) - LoggingLevel.DEBUG + println("""Failed to deserialize logging level, got $it expected one of + |"DEBUG", "PROGRESS", "INFO", "WARN", "ERROR", falling back to PROGRESS""".trimMargin()) + LoggingLevel.PROGRESS } } }, toString = { it.toString() } - )).default(LoggingLevel.DEBUG) + )).default(LoggingLevel.PROGRESS) override val modules: List = emptyList() -- cgit