Moodle

Default exception handler should log to webserver error log

Details

  • Type: Bug Bug
  • Status: Closed 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

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

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: