Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1510

Allow rotation of "Session Log" and "Changes Log"

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.0-B1
    • Component/s: Other
    • Labels:
      None

      Description

      Plan:

      1. add "SessionLogRotationInterval" system setting (label: "Keep "Session Log" for") to the "Logs Settings" sub-section in the "Configuration > Website > Advanced" section with following options: "1 day", "1 week", "2 weeks", "1 month", "3 months", "1 year", "2 years", "3 years", "5 years", "Forever (never deleted automatically)"
      2. create "session-log:OnRotate" scheduled task (see "email-log:OnRotate" for example) to cleanup logs
      3. don't session logs of active sessions
      4. before deleting "session log" delete all "changes log" records associated with that "session log"
      5. add protection against removing more than 100 records per run (to avoid "out of memory" error)
      6. run event once per day

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Erik Snarski [Intechnic]
                Reviewer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: