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

Rewrite loglive report to use the new logging api

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.7
    • Fix Version/s: 2.7
    • Component/s: Logging
    • Labels:
    • Testing Instructions:
      Hide
      1. For each logging store, perform the following actions:-
        1. Make sure the standard store is enabled and there were some activity at the site/course level recently.
        2. Goto site admin>reports>livelogs
        3. Make sure live logs are displayed properly.
        4. Leave the report open and in a different browser, perform some actions , such as creating/deleting/updating courses etc.
        5. Make sure the report is dynamically updated every 60 seconds with these new logs
        6. The new entries should be highlighted for you to notice.
        7. The highlight should go away after about 5 seconds.
        8. Entries from bottom of the table should be removed, once the per page limit is hit.
        9. Click on 'pause live update' button.
        10. Look at network traffic from the page and make sure no more ajax request is submitted, after the 60 secs mark.
        11. Do some activity in the other browser and make sure those are not updated in the open report.
        12. Click on 'Resume live updates'
        13. Make sure ajax requests are submitted now, every 60 seconds and the report is updated when there is new activity.
        14. Goto second page in the report.
        15. Make sure there is no update/pause button
        16. Make sure the report is not updated dynamically and there are not ajax requests submitted.
      Show
      For each logging store, perform the following actions:- Make sure the standard store is enabled and there were some activity at the site/course level recently. Goto site admin>reports>livelogs Make sure live logs are displayed properly. Leave the report open and in a different browser, perform some actions , such as creating/deleting/updating courses etc. Make sure the report is dynamically updated every 60 seconds with these new logs The new entries should be highlighted for you to notice. The highlight should go away after about 5 seconds. Entries from bottom of the table should be removed, once the per page limit is hit. Click on 'pause live update' button. Look at network traffic from the page and make sure no more ajax request is submitted, after the 60 secs mark. Do some activity in the other browser and make sure those are not updated in the open report. Click on 'Resume live updates' Make sure ajax requests are submitted now, every 60 seconds and the report is updated when there is new activity. Goto second page in the report. Make sure there is no update/pause button Make sure the report is not updated dynamically and there are not ajax requests submitted.
    • Affected Branches:
      MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Epic Link:
    • Pull Master Branch:
      MDL-43682-master
    • Sprint:
      BACKEND Sprint 10, BACKEND Sprint 12

      Description

      Reproduce log reports to use the new logging system (loglive)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/May/14