-
Type:
Bug
-
Status: Closed
-
Resolution: Fixed
-
Affects Version/s: 7.3.X, Master
-
Fix Version/s: 7.3.7 CE GA8, 7.3.10 DXP FP2, 7.3.X, 7.4.0 CE GA1, 7.4.13 DXP GA1, Master
-
Component/s: Application Security > Auto Login
-
Labels:
-
Branch Version/s:7.3.x
-
Backported to Branch:Committed
-
Story Points:1
-
Fix Priority:3
-
Git Pull Request:
The full stacktrace is printed when a WARN message is logged because of a BadPadding exceptions when trying to retrieve old "Remember Me" cookies. This causes in some occasions that:
- Logs from customers who have upgraded their servers grow considerably, making them unusable.
- They worry too much about a WARN message that has no consequences. If the user logs in again the cookie will be updated and the message will no longer appear.
Steps to reproduce:
- Start a 6.2 server in http://localhost:6200.
- Log in with 'Test' user and check the 'Remember Me' checkbox.
- Start a master server in http://localhost:8080.
- Using the same browser as in step 2, navigate to http://localhost:8080.
- Check the logs.
Current result (see logs attached):
- An ERROR from AutoLogin filter is logged with no stacktrace.
- A WARN from RememberMeAutoLogin is logged, including a full stacktrace exception.
Expected result:
- An ERROR from AutoLogin filter is logged with no stacktrace.
- A DEBUG full stacktrace from RememberMeAutoLogin is logged if debug traces are enabled.