moodle-logstore_xapi icon indicating copy to clipboard operation
moodle-logstore_xapi copied to clipboard

include error in failed events log

Open garemoko opened this issue 5 years ago • 5 comments

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.

garemoko avatar Apr 30 '19 16:04 garemoko

That's a good idea.

ryasmi avatar May 03 '19 10:05 ryasmi

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

AlexTo avatar Dec 10 '19 22:12 AlexTo

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

ryasmi avatar Dec 11 '19 13:12 ryasmi

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

AlexTo avatar Dec 11 '19 22:12 AlexTo

Ok responded over there.

ryasmi avatar Dec 12 '19 09:12 ryasmi

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

davidpesce avatar Sep 18 '23 14:09 davidpesce