From c7e385e282bcb8505589bce526e692b7bb819ffa Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 19 Feb 2020 15:09:09 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- config/initializers/lograge.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/initializers') diff --git a/config/initializers/lograge.rb b/config/initializers/lograge.rb index fb93c3a6e12..a2c0fd5cd5c 100644 --- a/config/initializers/lograge.rb +++ b/config/initializers/lograge.rb @@ -28,7 +28,7 @@ unless Gitlab::Runtime.sidekiq? payload = { time: Time.now.utc.iso8601(3), - params: Gitlab::Utils::LogLimitedArray.log_limited_array(params), + params: Gitlab::Utils::LogLimitedArray.log_limited_array(params, sentinel: { key: 'truncated', value: '...' }), remote_ip: event.payload[:remote_ip], user_id: event.payload[:user_id], username: event.payload[:username], -- cgit v1.2.3