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

Add information about $CFG-logsql to the config-dist.php

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.2
    • Fix Version/s: 1.9
    • Component/s: Documentation
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      Description

      Martin himself told me this in March 2006 but I had forgotten and went through some googling and moodling before I found out / remembered that Moodle can be told to keep a log of database queries with $CFG->logsql = true; in the config.php. Mention of this could be benefitial in config-dist.php, as that is the place I look for "hidden" config options.

      docs.moodle.org didn't know about this either. Martins original hint here: http://moodle.org/mod/forum/discuss.php?d=42040#p193478

        Attachments

          Activity

            People

            Assignee:
            samulik Samuli Karevaara
            Reporter:
            samulik Samuli Karevaara
            Tester:
            Helen Foster
            Participants:
            Component watchers:
            David Mudrák (@mudrd8mz), Helen Foster, Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Mar/08