Hi. How do you disable the `kotlin-logging: initia...
# kotlin-logging
s
Hi. How do you disable the
kotlin-logging: initializing... active logger factory: Slf4jLoggerFactory
on JVM please?
j
looks like you can do
KotlinLoggingConfiguration.logStartupMessage = false
as long as you do it before calling any KotlinLogging methods. not sure if there's a better way to ?
s
I thought that so shoved it in at the first line in my main() function but it didn't stop the message from printing
j
yeah i had to do it even before main() since i had a top level KotlinLogging invocation -- https://github.com/josephlbarnett/leakycauldron/commit/0622c91249c800a0fe319bd2dadac24e27edf8ff
s
thx, will give that a go
j