diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2019-07-10 19:26:47 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-07-10 19:26:47 +0000 |
commit | 0ab89d8e36ba58a95244b4c6dd49d53fac7a699f (patch) | |
tree | 40707956c6a5942b6301b18b2e85e5336fa590c3 /config/routes/api.rb | |
parent | 82503745143faf2b71185c9f392dbfd00d6d587e (diff) | |
download | gitlab-ce-0ab89d8e36ba58a95244b4c6dd49d53fac7a699f.tar.gz |
Add a rubocop for Rails.logger
Suggests to use a JSON structured log instead
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
Diffstat (limited to 'config/routes/api.rb')
-rw-r--r-- | config/routes/api.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/routes/api.rb b/config/routes/api.rb index c6c17b5708e..d55bbdf6776 100644 --- a/config/routes/api.rb +++ b/config/routes/api.rb @@ -1,5 +1,5 @@ post '/api/graphql', to: 'graphql#execute' mount GraphiQL::Rails::Engine, at: '/-/graphql-explorer', graphql_path: '/api/graphql' -::API::API.logger Rails.logger +::API::API.logger Rails.logger # rubocop:disable Gitlab/RailsLogger mount ::API::API => '/' |