Moodle
  1. Moodle
  2. MDL-20374

Default exception handler should log to webserver error log

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor 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
    • Rank:
      31325

      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.

        Activity

        Hide
        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
        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
        Ashley Holman added a comment -

        committed

        Show
        Ashley Holman added a comment - committed

          People

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

            Dates

            • Created:
              Updated:
              Resolved: