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

Zane W

03/20/2024, 1:21 AM
Can we add a more finer grained logging level to separate request logging and response logging? For SSE responses, each event is logged as a single log makes it really hard to find the request log. For some cases, I only care about request or response logs, there should be away to enable this separately, currently once logging is enabled, it logs for both.
Copy code
install(Logging) {
                    level = LogLevel.ALL
                }
e

e5l

03/20/2024, 4:52 AM
@Maria Skripchenko , could you check if it’s possible with OpenTelemetry plugin?
👀 1