diff --git a/backend/src/main/kotlin/no/nav/mulighetsrommet/api/Application.kt b/backend/src/main/kotlin/no/nav/mulighetsrommet/api/Application.kt index 59dcc50bce..b6d17531cc 100644 --- a/backend/src/main/kotlin/no/nav/mulighetsrommet/api/Application.kt +++ b/backend/src/main/kotlin/no/nav/mulighetsrommet/api/Application.kt @@ -3,6 +3,7 @@ package no.nav.mulighetsrommet.api import com.typesafe.config.ConfigFactory import io.ktor.application.Application import io.ktor.application.ApplicationStopped +import io.ktor.application.log import io.ktor.config.HoconApplicationConfig import io.ktor.routing.routing import no.nav.mulighetsrommet.api.kafka.KafkaFactory @@ -47,6 +48,7 @@ fun Application.module() { // TODO: Lag noe som er litt mer robust. Kun for å få deployet. if (enableKafka) { + log.debug("Kafka is enabled") val kafka: KafkaFactory by inject() environment.monitor.subscribe(ApplicationStopped) { println("Shutting down") diff --git a/backend/src/main/resources/logback.xml b/backend/src/main/resources/logback.xml index d80be8cf0d..54fe4e8459 100644 --- a/backend/src/main/resources/logback.xml +++ b/backend/src/main/resources/logback.xml @@ -7,7 +7,7 @@ - +