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
As described in SPR-16688, current logging strategy is not ideal because the stacktrace is not useful, the exception seems to be both logged and rethrown and we for some cases we don't have a specific exception to filter (generic IOException).
Here is a list of proposal to improve that:
Update Reactor Netty to follow WebFlux logging strategy, for example ChannelOperations#discreteRemoteClose could log stacktrace only at TRACE level, not at DEBUG nor ERROR ones since this provide very little added value and these errors are usual
Make sure Reactor Netty logs or emits the error, not both, to avoid double logging issues
Wrap the IOException emitted in ChannelOperations#discreteRemoteClose into a more specific one (maybe AbortedException?) to be able to filter it on Spring WebFlux side.
The text was updated successfully, but these errors were encountered:
With this commit, WebFlux server uses warning instead of error log level
for request handling error, and also just print the message instead of
the stacktrace which is mostly meaningless in reactive world.
Complementary to this change, Reactor Netty removed additional logging
as part of reactor/reactor-netty#339.
Issue: SPR-16688
sdeleuze
added a commit
to sdeleuze/spring-framework
that referenced
this issue
Apr 27, 2018
With this commit, WebFlux server uses warning instead of error log level
for request handling, and also just print the message instead of the
stacktrace which is mostly meaningless in reactive world.
Complementary to this change, Reactor Netty removed additional logging
as part of reactor/reactor-netty#339.
Issue: SPR-16688
sdeleuze
added a commit
to sdeleuze/spring-framework
that referenced
this issue
Apr 27, 2018
With this commit, WebFlux server uses warning instead of error log level
for request handling, and also just print the message instead of the
stacktrace which is mostly meaningless in reactive world.
Complementary to this change, Reactor Netty removed additional logging
as part of reactor/reactor-netty#339.
Issue: SPR-16688
As described in SPR-16688, current logging strategy is not ideal because the stacktrace is not useful, the exception seems to be both logged and rethrown and we for some cases we don't have a specific exception to filter (generic
IOException
).Here is a list of proposal to improve that:
ChannelOperations#discreteRemoteClose
could log stacktrace only atTRACE
level, not atDEBUG
norERROR
ones since this provide very little added value and these errors are usualIOException
emitted inChannelOperations#discreteRemoteClose
into a more specific one (maybeAbortedException
?) to be able to filter it on Spring WebFlux side.The text was updated successfully, but these errors were encountered: