jules
7fb15d204c
Typo
2015-10-23 18:12:20 +02:00
jules
33db51245b
Update the version
2015-10-23 18:10:28 +02:00
jules
c582617209
Typos
2015-10-23 18:09:01 +02:00
jules
2a81b65de6
Add documentation
2015-10-23 18:07:15 +02:00
jules
da5d32ca68
Typo
2015-10-23 17:35:50 +02:00
jules
25f0883399
After shoul be called
2015-10-23 17:33:22 +02:00
jules
7c310ec946
Code quality
2015-10-23 17:28:37 +02:00
jules
ccb9ec052e
Code quality
2015-10-23 17:21:06 +02:00
jules
4115e6383b
Code quality
2015-10-23 17:19:06 +02:00
jules
6c0fdeca64
Merge remote-tracking branch 'Hubbub/pluggable-loggers'
...
Conflicts:
lib/grape_logging.rb
lib/grape_logging/loggers/response.rb
lib/grape_logging/middleware/request_logger.rb
2015-10-23 16:59:15 +02:00
jules
c90d565ebe
response.body is an Array of Strings. We should serialized every body in this Array
2015-10-23 16:03:53 +02:00
jules
3fd1ba13f3
response.body is an Array of Strings. We should get the first element and It should be serialized
2015-10-23 16:01:31 +02:00
jules
7997b21b17
response.body is a string. It should be serialized
2015-10-23 15:54:53 +02:00
jules
7412cd5cf3
Add an option to use the Rails instrumentation
2015-10-23 15:47:52 +02:00
jules
c716f78f2a
response.body should not be return as string
2015-10-23 15:16:55 +02:00
jules
ed8d25f89f
JSON serialization was wrong
2015-10-23 15:13:30 +02:00
jules
95dcaa0979
Typo
2015-10-23 15:01:16 +02:00
jules
6bc1b9405d
Don't forget to import the new formatter
2015-10-23 14:54:41 +02:00
jules
9a593ee996
Add JSON formatter
2015-10-23 14:53:58 +02:00
jules
2e0f8c2aa5
Add JSON formatter
2015-10-23 14:53:21 +02:00
Duncan Williams
de4d5c2c0f
using module name of Loggers rather than Logger
...
also explicit to_s on response body
2015-10-23 14:53:21 +02:00
Duncan Williams
89fdbb0e49
fixing some small bugs
2015-10-23 14:53:21 +02:00
Duncan Williams
def34f7b8d
updating README with usage examples
2015-10-23 14:53:20 +02:00
Duncan Williams
e5cff12673
using pluggable loggers
...
separating out the base logger behaviour
and logging of specific parts of request / response
into pluggable components
also setting the defualt formatter for the logger
2015-10-23 14:53:19 +02:00
Rodrigo Souto
1b834e1dc1
add support for obfuscated parameters
...
Now you may override the method 'sensitive_parameters' with a list of
parameters that should be obfuscated on the log. If the lib is loaded on
a Rails application, uses the 'filter_parameters' attribute as default
value for 'sensitive_parameters'.
2015-10-23 14:52:27 +02:00
Adrian Serafin
9e247e0909
Merge pull request #11 from jtmarmon/patch-1
...
Add file syncing to README example
2015-09-02 16:06:02 +02:00
Jason Marmon
3149cfddd6
Add file syncing to README example
2015-09-01 17:29:22 -04:00
Duncan Williams
a05e018101
using module name of Loggers rather than Logger
...
also explicit to_s on response body
2015-08-10 11:09:49 +01:00
Duncan Williams
82eab4cc91
fixing some small bugs
2015-07-13 17:29:06 +01:00
Duncan Williams
2c208bd5c5
updating README with usage examples
2015-07-13 16:38:35 +01:00
Duncan Williams
7ba9b5b83a
using pluggable loggers
...
separating out the base logger behaviour
and logging of specific parts of request / response
into pluggable components
also setting the defualt formatter for the logger
2015-07-13 16:26:05 +01:00
Rodrigo Souto
eb63aa03e1
add support for obfuscated parameters
...
Now you may override the method 'sensitive_parameters' with a list of
parameters that should be obfuscated on the log. If the lib is loaded on
a Rails application, uses the 'filter_parameters' attribute as default
value for 'sensitive_parameters'.
2015-07-13 16:25:32 +01:00
aserafin
41dcfb67ff
delete accidentaly commited .gem file
2015-06-29 20:14:32 +02:00
aserafin
45798cd87e
bump version to 1.1.2
2015-06-29 20:12:34 +02:00
Adrian Serafin
a672aa8537
Merge pull request #8 from marshall-lee/unsubscribe_when_exception
...
Unsubscribe notifier even when exception occurs
2015-06-29 20:11:22 +02:00
Vladimir Kochnev
28bb59e247
Unsubscribe notifier in ensure block
...
In case of unhandled exception we should unsubscribe notifier anyway.
Related to #7 .
2015-06-29 12:47:55 +03:00
aserafin
3848b35b52
bump version to 1.1.1
2015-06-26 08:34:08 +02:00
Adrian Serafin
6f76458171
Merge pull request #7 from marshall-lee/fix_unsubscribing
...
Fix serious memory leak
2015-06-26 08:32:15 +02:00
Vladimir Kochnev
296705e02e
clean up middleware code & unsubscribe in the end
2015-06-26 00:06:31 +03:00
aserafin
d130386947
bump version to 1.1
2015-05-20 14:34:28 +02:00
aserafin
f465c1027c
remove benchmark dependency, for logging db_runtime use instance variable and not env, do not overwrite call! anymore
2015-05-18 22:38:43 +02:00
Adrian Serafin
1e194073f6
Update version.rb
2015-05-04 18:57:18 +02:00
Adrian Serafin
5a574e5ab5
Merge pull request #2 from totothink/master
...
fix error: uninitialized constant Benchmark
2015-05-04 18:55:57 +02:00
aaron
d176b057dc
fix error: uninitialized constant Benchmark
2015-04-30 23:11:31 +08:00
Adrian Serafin
dd7b43f017
fix brackets in the readme example
2015-04-22 14:48:58 +02:00
Adrian Serafin
43f945badc
fix typo in code example
2015-04-22 13:37:10 +02:00
aserafin
00b055406d
change wording in gem description
2015-04-16 13:20:55 +02:00
aserafin
b5556d6491
gemspec delete allowed hosts
2015-04-16 13:13:10 +02:00
aserafin
13c22ef2dd
code climate
2015-04-16 13:09:57 +02:00
aserafin
6818ecdbd4
correct log line example
2015-04-16 12:58:25 +02:00