REST calls are logged in the moqui.server.ArtifactHit entity via the AT_SERVICE Artifact Type However the userId field is not filled in.
I am looking for a way how the get the date/time of latest REST call of a certain userId, so i can show this userid the changes happened in the system when he was not logged in.
Any pointers how to fill the userId field?
Thank you very much in advance!
in file:
moqui/framework/src/main/groovy/org/moqui/impl/context/ExecutionContextFactoryImpl.groovy
will enable rest logging, but it will do all service calls even if it was not a external rest call
so i asked jules to make sure only external rest calls from GrowERP are logged WITH userid