Per #587, setting KotlinLoggingConfiguration.logStartupMessage allows for not printing out the startup message, as long as it's called prior to any KotlinLogging initialization. Managing that initialization is a little awkward, as at least in my case I've got a bunch of top level private val log...s that get initialized before any call to main().
I've been able to get it to work with a strategically placed run{} block like josephlbarnett/leakycauldron@0622c91 to take care of my main(), but the message shows up still in tests / other entry points, could there be an easier way to get this set throughout a given project?
Per #587, setting
KotlinLoggingConfiguration.logStartupMessageallows for not printing out the startup message, as long as it's called prior to any KotlinLogging initialization. Managing that initialization is a little awkward, as at least in my case I've got a bunch of top levelprivate val log...s that get initialized before any call to main().I've been able to get it to work with a strategically placed
run{}block like josephlbarnett/leakycauldron@0622c91 to take care of my main(), but the message shows up still in tests / other entry points, could there be an easier way to get this set throughout a given project?