Improved Logging for better Correlation with Gitolite
Created by: sroth80021
I recently went through an investigation to figure out why a branch was never merged into master (issue #1544 (closed)), even though GitLab seemed to indicate success. (it says 'branch merged')
Unfortunately, I found it difficult to navigate between the GitLab production.log and the Gitolite logfile. I needed to use timestamps for correlation, which in this case were set for different timezones.
Going forward, one thing which would really help is to have GitLab log a) the commitIDs for major events, such as pushing a branch (accepting a merge). and possibly b) the output from its ssh commands which push to the server.
We have several custom hooks (to protect our repositories), and in one of the pushes from GitLab, we can see the custom hook failed, but without any output, it's unclear what happened. Since GitLab uses SSH to push, I presume the SSH output/stderr would be available for logging(?)