I've written a .main.kts script using Ktor server ...
# scripting
a
I've written a .main.kts script using Ktor server and client, but the logging doesn't work. I only get output for
println()
, and also the Micrometer dependency prints something
Copy code
➜  kts-px /Users/me/projects/kts-px/px.main.kts
Nov 06, 2022 2:29:49 PM io.micrometer.core.instrument.push.PushMeterRegistry start
INFO: publishing metrics for LoggingMeterRegistry every 1m
I've tried with logback-classic and slf4j-simple, but I can't figure it out... any ideas?
px_main_kts.kt
I've tried a few different combinations of slf4j, logback, and versions