Apply LogFormatUtils in more places

This commit is contained in:
Rossen Stoyanchev
2021-12-09 14:52:34 +00:00
parent 98ce171b30
commit e9083d7d20
10 changed files with 56 additions and 35 deletions

View File

@@ -578,8 +578,8 @@ public class UrlPathHelper {
return UriUtils.decode(source, enc);
}
catch (UnsupportedCharsetException ex) {
if (logger.isWarnEnabled()) {
logger.warn("Could not decode request string [" + source + "] with encoding '" + enc +
if (logger.isDebugEnabled()) {
logger.debug("Could not decode request string [" + source + "] with encoding '" + enc +
"': falling back to platform default encoding; exception message: " + ex.getMessage());
}
return URLDecoder.decode(source);