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

anthony castillo

01/31/2020, 2:43 AM
hi guys. has anyone tried to use log4j threadcontext with ktor?
c

cy

02/03/2020, 1:25 PM
This is not going to work. Use CallLogging MDC support https://ktor.io/servers/features/call-logging.html
a

anthony castillo

02/04/2020, 2:01 AM
ok thank you. tried both and both worked. but decided to use MDC instead. i guess my main issue was the incompatible slf4j and log4j versions.
10 Views