diff options
author | Stan Hu <stanhu@gmail.com> | 2018-09-05 14:40:36 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-09-05 14:43:09 -0700 |
commit | 93005b4e811a41da2c845b7c1ab558625c338a72 (patch) | |
tree | 4c5f18a9c3fd3fe73c0465834fc8e518297b17fa /config | |
parent | 9dd34eac14a94e58999c335a175e06067f1092fa (diff) | |
download | gitlab-ce-93005b4e811a41da2c845b7c1ab558625c338a72.tar.gz |
Add User-Agent to production_json.log
This will help production gain more visibility which browsers may be
having issues.
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/lograge.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/initializers/lograge.rb b/config/initializers/lograge.rb index 1cf8a24e98c..840404e0ec0 100644 --- a/config/initializers/lograge.rb +++ b/config/initializers/lograge.rb @@ -22,7 +22,8 @@ unless Sidekiq.server? params: params, remote_ip: event.payload[:remote_ip], user_id: event.payload[:user_id], - username: event.payload[:username] + username: event.payload[:username], + ua: event.payload[:ua] } gitaly_calls = Gitlab::GitalyClient.get_request_count |