Is there a way to change the log level of WebSocke...
# ktor
a
Is there a way to change the log level of WebSockets in Ktor Server? Once I use it and users connect it will continue logging info that I don't need especially in production, is the logger name is
io.ktor.websocket.WebSocket
? so I can update that in
logback.xml
Fixed it by adding the following to logback.xml:
Copy code
<logger name="io.ktor.websocket" level="ERROR"/>
    <logger name="io.ktor.server.websocket" level="ERROR"/>
Not sure why there is two log level name for the web sockets though