Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-64463

PSR Logger for logging operational information

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.5.3, 3.6.1
    • Fix Version/s: None
    • Component/s: Logging
    • Labels:
      None
    • Affected Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE

      Description

      Please see this forum post for background:

       

      https://moodle.org/mod/forum/discuss.php?d=380209

       

      The Moodle log store does not seem like the best place to log operational (non activity based) information.

      By operational information I mean things like:

       

      3rd party API call attempts / success / errors

      Configuration errors noticed during scheduled tasks

      Web-service failures

       

      A PHP PSR based logger would be ideal for logging operational items as it is possible to attribute a level to each item - e.g. info,debug,warning,error,critical

      This means it is possible to filter the logs easily by level OR configure the logging sensitivity - i.e. only log things that are warnings, errors or critical.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              brudinie guy thomas
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: