Commit 51784514a36abb9d34316981e1aee6188d975cc4
1 parent
93311e8c
Exists in
master
and in
21 other branches
api: remove obsolete request_logger
Showing
1 changed file
with
0 additions
and
16 deletions
Show diff stats
lib/noosfero/api/request_logger.rb
@@ -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 |