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

Logging database error to the Apache error log

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.5, 1.9, 2.0
    • Fix Version/s: 1.8.6, 1.9.1, 2.0
    • Component/s: Database SQL/XMLDB
    • Labels:
      None
    • Database:
      PostgreSQL, Oracle
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      Here's a very small patch which helped greatly while I was debugging Oracle connection problems for a client.

      It outputs the DB error message to the Apache error log.

      Does it make sense to apply it to 1.8, 1.9 and HEAD ?

        Attachments

          Activity

            People

            Assignee:
            francois Francois Marier
            Reporter:
            francois Francois Marier
            Tester:
            Petr Skoda
            Participants:
            Component watchers:
            Andrew Nicols, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/May/08