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

Create global switch for Web Request/Session Data logging into the System Log

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Accepted
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 5.2.2
    • Component/s: System Log
    • Labels:
      None
    • Change Log Group:
      Added
    • Change Log Message:
      Allow to store Web Request Data/Session Data in the System Log on a Global level.
    • Story Points:
      2
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      1. add the settings, to the "/system/config.php" file to allow:
        1. enabling/disabling web request/session data logging by default
        2. setting a limit on the amount of data being logged
      2. add system setting, that will specify logged request/session data rotation interval
      3. transform the "kLogger" class like so:
        1. the "addRequestData" and "addSessionData" will set a flag, that such type of data needs to be logged instead of actually logging it
        2. add the "removeRequestData" and "removeSessionData" will set remove the above-mentioned flag
        3. perform actual data logging in the "write" method only based on the current state of flags
        4. set initial flag values based on the above-added settings from the "/system/config.php" file 
        5. when the data to-be-logged is too large, then gradually reduce it's size until it meets the limit from the "/system/config.php" file 

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 7.3h
                  7.3h