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

    • Improvement
    • Status: Reopened
    • Minor
    • Resolution: Unresolved
    • 2.6.2
    • BACKEND
    • MNet

    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

            Unassigned Unassigned
            nebgor Aparup Banerjee
            Dan Poltawski Dan Poltawski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: