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

    • MOODLE_28_STABLE, MOODLE_29_STABLE, MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • MDL-50286_m32v3
    • Easy
    • 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

    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

              sbourget Stephen Bourget
              tsala Helen Foster
              cameron1729 cameron1729
              Andrew Lyons Andrew Lyons
              Frédéric Massart Frédéric Massart
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Raquel Ortega, Sara Arjona (@sarjona), Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              6 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/16