xAPI-vle / moodle-logstore_xapi

A Moodle plugin to send xAPI statements to an LRS using events in the Moodle logstore.
GNU General Public License v3.0
76 stars 84 forks source link

include error in failed events log #522

Closed garemoko closed 1 year ago

garemoko commented 5 years ago

It would be really useful to include the reason why an event failed in the mdl_logstore_xapi_failed_log to avoid having to re-run the events and look at the cron trail, especially on production environments. This could just be an extra column including the error string.

ryasmi commented 5 years ago

That's a good idea.

AlexTo commented 4 years ago

hi @garemoko Could you tell me what is the "cron trail"? All of my records are sent to mdl_logstore_xapi_failed_log and I not sure where to look at to debug it. Thanks

ryasmi commented 4 years ago

@AlexTo sounds like you might have misconfigured your LRS details if everything is ending up in the failed log.

AlexTo commented 4 years ago

Actually I don't have a LRS, I have a 1 liner Spring RestController with Basic Authentication to retrieve the records sent from Moodle xAPI

I described my issue in #608

The configuration should be very simple so I'm not sure what is wrong.

My configuration is something like Endpoint: http://myendpoint/xAPI User: user Password: password

If I use CURL as described in #608, the endpoint can receive the String just fine :(

Is there a log or something from this plug in that I can use to troubleshoot?

Thanks a lot

ryasmi commented 4 years ago

Ok responded over there.

davidpesce commented 1 year ago

I'm forgetting where, but this has been implemented already.