Hello Gerrit
We are trying to audit the users who accessed the gerrit repository.
We were able to use the gerrit audit plugin and get sufficent data on what users did like git clone/git push.
However, when a user does not have any permission to the project and still tried to git clone it they get the below error:
*********
Cloning into 'demo_commander'...
warning: You appear to have cloned an empty repository.
commit-msg
100% 1791 34.8KB/s 00:00
*********
But this is not logged into the error that a user tried to clone a repository with no permissions.
Is there a way we can enable this in the audit logs or error_log so we track users who are trying to clone repos's without permissions.
NOTE: I have changed the log level to (ERROR, WARN, INFO, DEBUG) but that has not helped.
Configuration for audit plugin
*************
[audit-sl4j]
format = JSON
logName = audit.log
**************
Thank you,
Anish