diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2019-05-24 00:45:02 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-05-24 00:45:02 +0000 |
commit | ed8ebc635a06380e04f2e82df6e65095314a54d2 (patch) | |
tree | 20f6db06d89c676cdd54e8137ee180e426eb7e7e /doc/administration | |
parent | d64e6cabc71beaba5dc726aad76050ae61305016 (diff) | |
download | gitlab-ce-ed8ebc635a06380e04f2e82df6e65095314a54d2.tar.gz |
Changes RackAttack logger to use structured logs
Creates a new filename to register auth logs.
This change should allow SRE's queries to make better queries
through logging infrastructure.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54528
Diffstat (limited to 'doc/administration')
-rw-r--r-- | doc/administration/logs.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/administration/logs.md b/doc/administration/logs.md index 3d40cda491a..a7e57e44e86 100644 --- a/doc/administration/logs.md +++ b/doc/administration/logs.md @@ -280,6 +280,14 @@ installations from source. Currently it logs the progress of project imports from the Bitbucket Server importer. Future importers may use this file. +## `auth.log` + +Introduced in GitLab 12.0. This file lives in `/var/log/gitlab/gitlab-rails/auth.log` for +Omnibus GitLab packages or in `/home/git/gitlab/log/auth.log` for +installations from source. + +It logs information whenever [Rack Attack] registers an abusive request. + ## Reconfigure Logs Reconfigure log files live in `/var/log/gitlab/reconfigure` for Omnibus GitLab @@ -298,3 +306,4 @@ Omnibus GitLab packages or in `/home/git/gitlab/log/sidekiq_exporter.log` for installations from source. [repocheck]: repository_checks.md +[Rack Attack]: ../security/rack_attack.md |