Hi, Remi,
I checked gunicorn log:
YES, if user cancel it by manual, we could see the url like next:
gunicorn.log:[2020-04-08 18:26:12 +0200] [24700] [DEBUG] GET /scheduler/job/55985/cancel
Unfortunately, no visited IP here.
If by lavacli, we can get nothing.
But still we could not see the user, neither in lava-master.log nor Django.log.
But if it was not persisted in database as you suggested, I guess we really can’t get it.
That’s fine, I just ask this question in case lava have this mechanism which I don’t know. Thanks.
From: Remi Duraffort <remi.duraffort@linaro.org>
Sent: Wednesday, April 15, 2020 4:14 PM
To: Larry Shen <larry.shen@nxp.com>
Cc: lava-users@lists.lavasoftware.org
Subject: [EXT] Re: [Lava-users] Audit log for user action?
Caution: EXT Email
Hello,
the information is not stored in the database.
But you might have some information in the logs: /var/log/apache2/lava-server.log or /var/log/lava-server/gunicorn.log
Rgds
Le mer. 15 avr. 2020 à 09:28, Larry Shen <larry.shen@nxp.com> a écrit :
Hi, there,
If lava in some place possible to find who cancel a job? Or use lavacli or manual cancel a job?
Or for which detail reason, the job was canceled?
We are struggling to find why my job canceled sometimes, not sure someone not carefully do it or our external program by chance do it, especially when there are many people used the same master.
Regards,
Lary
_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users
--
Rémi Duraffort
LAVA Architect
Linaro