## Part 1
NOTE: Please repeat below steps for each of "Keep "Session Log" for" values, excepting "Forever". That is - for 1 day, 1 week, 2 weeks, 1 month, 3 months, 1 year, 2 years, 3 years, 5 years values of "Keep "Session Log" setting.
# go to {nav Configuration > Website > Advanced} section
# ensure that "Track database changes to change log" is checked
# ensure that "Keep "Session Log" for" is set to "1 week"
# change "Enable SEO-friendly URLs mode (MOD-REWRITE)" setting, save
# log out
# launch some SQL to offset all non-null UserSessionLogs.SessionEnd values more than "1 week" to the past
# log in
# go to {nav Configuration > Website > Scheduled Tasks} section
# edit "rotate_session_logs" record, change "Next Run On" to some date in the past
# wait until "rotate_session_logs" scheduled task performs it's job
# go to {nav Logs & Reports > Session Log} section
# confirm, that only current session is in the list
# go to {nav Logs & Reports > Changes Log} section
# confirm, that only last change of Scheduled task is in the list
## Part 2
# log out
# log in
# go to {nav Configuration > Website > Advanced} section
# ensure that "Keep "Session Log" for" is set to "Forever"
# launch some SQL to offset all non-null UserSessionLogs.SessionEnd values to the very past value like -5
# wait until "rotate_session_logs" scheduled task performs it's job
# go to {nav Logs & Reports > Session Log} section
# confirm, that oldest sessions remains in the list
## Part 3
# make 2 or more outdated sessions with change log records (login and logout several times, make some changes and save)
# launch some SQL to offset all non-null UserSessionLogs.SessionEnd values to the very past value like -5
# go to {nav Configuration > Website > Advanced} section
# ensure that "Keep "Session Log" for" is set to "1 week"
# change system code temporarily - set $limit = 1 in place of $limit = 100 in SessionLogEventHandler::OnRotate event
# wait until "rotate_session_logs" scheduled task performs it's job
# go to {nav Logs & Reports > Session Log} section
# confirm, that only current session is in the list
# go to {nav Logs & Reports > Changes Log} section
# confirm, that only last change of Scheduled task is in the list
# restore system code - set $limit = 100 in SessionLogEventHandler::OnRotate event