diff options
author | Stan Hu <stanhu@gmail.com> | 2019-05-24 00:45:03 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-05-24 00:45:03 +0000 |
commit | 6f4a5762dacd89508dfbe2e5d8ef91695499f14f (patch) | |
tree | 20f6db06d89c676cdd54e8137ee180e426eb7e7e /lib | |
parent | d64e6cabc71beaba5dc726aad76050ae61305016 (diff) | |
parent | ed8ebc635a06380e04f2e82df6e65095314a54d2 (diff) | |
download | gitlab-ce-6f4a5762dacd89508dfbe2e5d8ef91695499f14f.tar.gz |
Merge branch '54528-add-rack-attack-to-structured-logs' into 'master'
Changes RackAttack logger to use structured logs
Closes #54528
See merge request gitlab-org/gitlab-ce!28565
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/auth_logger.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/gitlab/auth_logger.rb b/lib/gitlab/auth_logger.rb new file mode 100644 index 00000000000..6d3edba02b0 --- /dev/null +++ b/lib/gitlab/auth_logger.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Gitlab + class AuthLogger < Gitlab::JsonLogger + def self.file_name_noext + 'auth' + end + end +end |