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
Currently, ErrorPageFilter only logs the path of the request without the query string. This part of the message is obtained by a call to ErrorPageFilter#getDescription. There's no way for customization or extensibility at this place, the method is private.
It would be great to be able to customize this message without having to proceed to a full rewrite of ErrorPageFilter to a homemade custom filter class.
The text was updated successfully, but these errors were encountered:
Make ErrorPageFilter#getDescription protected instead of private to be
able to customize the details for the request logged in case of error
(currently, only request path is logged).
philwebb
pushed a commit
to philwebb/spring-boot
that referenced
this issue
Nov 16, 2016
Make `ErrorPageFilter#getDescription` `protected` instead of `private`
to be able to customize the details for the request logged in case of
an error.
Fixesspring-projectsgh-7380Closesspring-projectsgh-7393
Currently,
ErrorPageFilter
only logs the path of the request without the query string. This part of the message is obtained by a call toErrorPageFilter#getDescription
. There's no way for customization or extensibility at this place, the method is private.It would be great to be able to customize this message without having to proceed to a full rewrite of
ErrorPageFilter
to a homemade custom filter class.The text was updated successfully, but these errors were encountered: