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

Allow to filter report_log by origin : Logs clogged up with events listed as origin cli

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Call cron from the CLI (php admin/cli/cron.php)
      2. Log into the site as an admin and navigate to Reports -> logs
      3. Filter the report by "all sources" verify you see events from both web and CLI
      4. Filter the report by "Web" and verify you only see events originating from the web
      5. Filter the report by "CLI" and verify you only see events originating from the cli
      Show
      Call cron from the CLI (php admin/cli/cron.php) Log into the site as an admin and navigate to Reports -> logs Filter the report by "all sources" verify you see events from both web and CLI Filter the report by "Web" and verify you only see events originating from the web Filter the report by "CLI" and verify you only see events originating from the cli
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      MDL-50286_m32v3

      Description

      When viewing the logs for a user using the standard log reader on a busy site such as moodle.org, there are thousands of results listed as origin cli. For example

      Component Event name Origin
      System Message sent - which if you click on the link displays '(No messages were found)' cli

      For primary admin

      Component Event name Origin
      System Calendar event created - which if you click on the link displays 'There are no events this day.' cli
      System Role unassigned cli
      System User unenrolled from course cli

      It's not possible to filter results and exclude results with origin cli, and there is no search option. Thus it's difficult trying to find non-cli origin results.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sbourget Stephen Bourget
              Reporter:
              tsala Helen Foster
              Peer reviewer:
              cameron1729
              Integrator:
              Andrew Nicols
              Tester:
              Frédéric Massart
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              6 Vote for this issue
              Watchers:
              16 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/16