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

mnet communication debugging should dump more info when mnet debugging is turned on.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.6.2
    • Fix Version/s: BACKEND
    • Component/s: MNet
    • Labels:

      Description

      easy fix:

      with $CFG->mnet_rpcdebug = true;

      mnet/xmlrpc/client.php's mnet_xmlrpc_client::send() should dump raw comms into err log like so:

              $timestamp_send    = time();
              mnet_debug("about to send the curl request");
              $this->rawresponse = curl_exec($httprequest);
              mnet_debug("managed to complete a curl request");
              $timestamp_receive = time();
      +        mnet_debug('raw response: '.$this->rawresponse);
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: