Commit
51784514a36abb9d34316981e1aee6188d975cc4
Exists in
staging
and in
41 other branches
all_pending_tasks_api, api-articles-period, api_roles, caching-rails4, captcha_serpro_plugin, comments_permissions, content-manager-hostspot, elasticsearch, elasticsearch_api, elasticsearch_categories, elasticsearch_filter, elasticsearch_sort, elasticsearch_to_merge, elasticsearch_view, environment-exposes-api, export-comment-api, export-comment-paragraph, export_data, external_followers, federation-webfinger, federation_followers, federation_followers_backend, federation_oauth_provider, federation_webfinger, fix_event_date_issue, fix_notification_email, fix_string_downcase_and_upcase, follower_permition, json_cookie_serializer, login-captcha, master, master_profile_followers, oauth_external_login, oauth_login, private-scraps, private-scraps-rebase, production, production-vendorized, profile_api_improvements, user_mention, webfinger_server
api: remove obsolete request_logger
|
| @@ -1,16 +0,0 @@ |
| @@ -1,16 +0,0 @@ |
|
1
| -module Noosfero |
| |
|
2
| - module API |
| |
|
3
| - class RequestLogger < GrapeLogging::Middleware::RequestLogger |
| |
|
4
| - |
| |
|
5
| - protected |
| |
|
6
| - |
| |
|
7
| - def parameters(response, duration) |
| |
|
8
| - { |
| |
|
9
| - path: request.path, |
| |
|
10
| - params: request.params.to_hash.except('password'), |
| |
|
11
| - method: request.request_method, |
| |
|
12
| - } |
| |
|
13
| - end |
| |
|
14
| - end |
| |
|
15
| - end |
| |
|
16
| -end |
| |