summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Stanley <dstanley@gitlab.com>2018-02-19 16:01:23 -0800
committerDiana Stanley <dstanley@gitlab.com>2018-02-19 16:01:23 -0800
commitc8fb31f72436e9d88809547c60ba8da0b081061d (patch)
treeae7664bfe25ee1ae4ba5acda57af0f5c0b57507e
parentb44b4d4d649c6b48b537909932a8cd3606f472b7 (diff)
downloadgitlab-ce-43416-document-where-user-clone-fetch-activity-appears-in-the-logs.tar.gz
add lines describing how to find user clone/fetch activity43416-document-where-user-clone-fetch-activity-appears-in-the-logs
-rw-r--r--doc/administration/logs.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/administration/logs.md b/doc/administration/logs.md
index debaa2330d0..1b42d7979ed 100644
--- a/doc/administration/logs.md
+++ b/doc/administration/logs.md
@@ -32,6 +32,8 @@ In this example, you can see this was a GET request for a specific issue. Notice
2. `view`: total time taken inside the Rails views
3. `db`: total time to retrieve data from the database
+User clone/fetch activity using http transport appears in this log as `action: git_upload_pack`.
+
In addition, the log contains the IP address from which the request originated
(`remote_ip`) as well as the user's ID (`user_id`), and username (`username`).
@@ -157,6 +159,8 @@ I, [2015-02-13T06:17:00.671315 #9291] INFO -- : Adding project root/example.git
I, [2015-02-13T06:17:00.679433 #9291] INFO -- : Moving existing hooks directory and symlinking global hooks directory for /var/opt/gitlab/git-data/repositories/root/example.git.
```
+User clone/fetch activity using ssh transport appears in this log as `executing git command <gitaly-upload-pack...`.
+
## `unicorn\_stderr.log`
This file lives in `/var/log/gitlab/unicorn/unicorn_stderr.log` for