-
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:
- add the settings, to the "/system/config.php" file to allow:
- enabling/disabling web request/session data logging by default
- setting a limit on the amount of data being logged
- add system setting, that will specify logged request/session data rotation interval
- transform the "kLogger" class like so:
- the "addRequestData" and "addSessionData" will set a flag, that such type of data needs to be logged instead of actually logging it
- add the "removeRequestData" and "removeSessionData" will set remove the above-mentioned flag
- perform actual data logging in the "write" method only based on the current state of flags
- set initial flag values based on the above-added settings from the "/system/config.php" file
- 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