EXT-55 CiviCRM Debug Log Viewer ca.civicrm.logviewer

    Details

    • Type: Extension Review Request
    • Status: Done
    • Priority: Trivial
    • Resolution: Done
    • Labels:
      None

      Description

      Extension: https://civicrm.org/extensions/civicrm-log-viewer

      A naive, simple log viewer for the CiviCRM debug log that normally goes in

      files/civicrm/ConfigAndLog/
      

        Attachments

        1. EXT-55 review.odt
          17 kB
          Matthew Wire
        2. EXT-55 review.odt
          17 kB
          Matthew Wire

          Activity

          [EXT-55] CiviCRM Debug Log Viewer ca.civicrm.logviewer
          Alan Dixon added a comment -

          There's really not much to this extension except two pages built using the civix extension. The first one, which is accessible via the menu system at Administer -> Administration console -> Log viewer, parses the current civicrm debug log file by looking for lines starting with something that matches the date-time format used to generate the log file. It builds a table from the line number, date, summary, and detail that it parses out, just pulling out the first little bit of the detail. Those rows then link to the second page, via the line number, and that page just pulls lines starting from the lineNumber argument until it's at the end of that entry, and displays the text using a javascript prettifier, without trying to analyse the text itself.

          Note that the extension has no effect on anything (beyond the usual installed extension overhead) unless you access the pages (i.e. it implements no hooks other than the menu one).

          The security implications really depend on individual extensions and what they are logging, and requires the "administer CiviCRM" permission for access.

          Matthew Wire added a comment -

          Tested V1 and with the changes committed Oct 18th - can you tag a 1.1 release with those changes - then I think we're good to go!

          EXT-55 review.odt

          Alan Dixon added a comment -

          Thank you, new release 1.1 completed.

            People

            • Assignee:
              Matthew Wire
              Reporter:
              Alan Dixon

              Dates

              • Created:
                Updated:
                Resolved: