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
My project using logback as log manager. When I use findbugs to test my project, I got this warning: 'This use of Logger.debug(...) might be used to include CRLF characters into log messages.'
And findbugs give me some suggestions to avoid this warning
I choose second suggestion, I changed my logback configration file. But it did not work. Waning still there, I just wonder why?
The second suggestion findbugs gives me:
You can also configure your logger service to replace new line for all message events. Here is sample configuration for LogBack
<pattern>%-5level - %replace(%msg){"[\r\n]"},"}%n</pattern>
My project using logback as log manager. When I use findbugs to test my project, I got this warning: 'This use of Logger.debug(...) might be used to include CRLF characters into log messages.'
And findbugs give me some suggestions to avoid this warning
I choose second suggestion, I changed my logback configration file. But it did not work. Waning still there, I just wonder why?
The second suggestion findbugs gives me:
logback.yml I changed before:
After I changed:
The text was updated successfully, but these errors were encountered: