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

Log fatal Moodle errors to PHP's error log

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • 3.11.17, 4.1.6
    • Logging
    • None
    • MOODLE_311_STABLE, MOODLE_401_STABLE

    Description

      Our current setup places Moodle behind an reverse proxy to prevent irregular access to the application server. HTTP 50X pages are replaced (using NGINX proxy_intercept_errors) ** with a generic error page to prevent information disclosure on any error.

      Unfortunately this also prevents site admins from getting access to any error information as Moodle is not logging any information to PHP's error_log. It would be nice if even in non-debug mode fatal errors could be loggable to have a way to access these error messages.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            Berengar Berengar W. Lehr
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Clockify

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.