https://kotlinlang.org logo
#ktor
Title
# ktor
k

Kris Wong

12/23/2019, 4:35 PM
i have added this to my build file
implementation("ch.qos.logback:logback-classic:1.2.3")
per https://ktor.io/servers/logging.html, but still get the warning SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
I just want basic logging to stdout/stderr for now
d

Dico

12/24/2019, 10:47 AM
You need to configure logback by adding logback.xml to the class path (put the file in the resources folder). You can find examples of this online. Alternatively, use slf4j-simple dependency instead.
k

Kris Wong

12/24/2019, 2:45 PM
interesting. the page makes it sound otherwise.