You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That can be done from inside a custom Renderer if needed.
Existing renderers, like JsonBody stream response to the client to optimize memory usage.
If you need to log it, you need to render to a memory buffer first (ByteArray or String), then log it and also send to the client. This will increase memory usage and GC work, so not ideal for production.
Another option is to log controller result (most likely Kotlin data class) before rendering it to json.
That can be done from both a custom Renderer or a RequestLogger.
I don't see a way to get to the processing chain after Renderer is called. Is there any way to log the raw response?
The text was updated successfully, but these errors were encountered: