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

Default exception handler should log to webserver error log

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: General
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      The default exception handler doesn't ever log to the apache error log, even with DEBUG_DEVEL turned on.

      We need this kind of reporting to troubleshoot errors on systems with debugdisplay turned off.

      See attached patch.

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            dougiamas Martin Dougiamas added a comment -

            Looks OK to me, thanks for the fix, can you check in? Just make sure you use 4-space indenting

            Show
            dougiamas Martin Dougiamas added a comment - Looks OK to me, thanks for the fix, can you check in? Just make sure you use 4-space indenting
            Hide
            ashleyholman Ashley Holman added a comment -

            committed

            Show
            ashleyholman Ashley Holman added a comment - committed

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  24/Nov/10