Single log source for git push/pull activity

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Proposal

I'm a bit surprised I can't seem to find an issue already filed for this subject, as it has been a frequently-requested item since I was running my own GitLab instance. It is very common for customers to come to us wanting to know how they can see all of the git push/pull activity against their GitLab environment. It is possible to deduce this information, but you have to look at more than one log file to compile all the info you need. This is because the activity is logged in different places depending on whether it comes via http or via ssh. We describe how to find this activity, in our logs documentation under production_json.log and gitlab-shell.log. It would be much more useful if there was a single log stream administrators could refer to that would show all git push/pull activity, whether it was push or pull, via http or ssh, the user (if authenticated), and the repo path.

Filing this in support of gitlab-org/distribution/team-tasks#882

Edited by 🤖 GitLab Bot 🤖