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

Logs and question attempt history should show time to the second, to help investigate issues

    XMLWordPrintable

Details

    • MOODLE_310_STABLE, MOODLE_311_STABLE
    • MOODLE_400_STABLE
    • MDL-71927_311
    • Hide
      1. Go to the live logs report in a course. Verify that the times are shown to the nearest second.
      2. Go to the logs report in a course. Verify that the times are shown to the nearest second.
      3. Download the logs report. Verify that the times are shown to the nearest second.
      4. Find (or create) a quiz attempt by a student.
      5. Review that attempt as a teacher.
      6. Verify that the times there are shown to the nearest second.
      Show
      Go to the live logs report in a course. Verify that the times are shown to the nearest second. Go to the logs report in a course. Verify that the times are shown to the nearest second. Download the logs report. Verify that the times are shown to the nearest second. Find (or create) a quiz attempt by a student. Review that attempt as a teacher. Verify that the times there are shown to the nearest second.

    Description

      All the standard (date and) time formats in langconfig only show the time to the nearest minute, which is fine and usable for almost all applications.

      However, when investigating issues, (e.g. where you want to correlate Moodle logs, with other server logs, of trace exactly what a user was doing, it really helps to have the time including seconds.

      The places I have in mind for ther are the logs and livelogs reports. and on the quiz review page, where the teacher sees the response history for each attempt. (It was this second thing - where I had to dive in the our database to get the timestamps, which made me realise that this needed to be done in the Moodle UI. Not evey Moodle user has a developer or DB admin on hand.)

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Nicolas Martignoni Nicolas Martignoni
            Andrew Lyons Andrew Lyons
            Gladys Basiana Gladys Basiana
            David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Safat Shahin, Tim Hunt, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Kevin Percy, Laurent David, Mathew May, Mihail Geshoski, Sabina Abellan, Sara Arjona (@sarjona), Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              19/Apr/22

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 25 minutes
                25m