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

Use "System Log" to log HTTP requests

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.0-B1
    • Component/s: System Log
    • Labels:
    • Change Log Group:
      Changed
    • Change Log Message:
      The HTTP requests are now logged into "System Log" instead of file.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

    • Commit Revision:
      15,957

      Description

      In-Portal has a functionality to log all incoming HTTP requests. Logging can be enabled by specifying path to log file in DBG_REQUREST_LOG constant in /system/debug.php.

      After using this functionality for a while here are few things I've noticed:

      • Pros:
        • GET/POST/COOKIE is recorded
        • some other information to identify user, who made a request is recorded
      • Cons:
        • hard to analyze, because in a result a large text file is created
        • HTTP headers not recorded

      Gladly in INP-811 task we've create flexible logging engine that logs same information but in easily browsable/searchable form.

      I recommend to use this "System Log" section to log all information. But we also need to improve "System Log" section by adding ability to log HTTP headers along with HTTP requests.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: