rails_semantic_logger 4.3.0 → 4.3.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 934f14af66478e5e06804df98a16baa607daba3743c9216f519edeeff63c877c
|
4
|
+
data.tar.gz: dfbbd3867ea7022a79cfb4a03be13851b8933eba1a730d1502cf1408fb725a80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 293e1f77e70ef70643048a4210aea3da07822ffd1b8a99aee4cc9dce3c6de3ae0aeccde7fc6f83b0d38aa4600085f4cef6052f9e6b8bbacfe096f2142b0d341f
|
7
|
+
data.tar.gz: cc2eb88049270abfb844ebce2fd90d12cd5dcf199815cb98c7286cee7775102cfd447c3fb5e6f053780ec4b1c35c1758f768018b6ae0091404bbacba60176d66
|
@@ -41,6 +41,12 @@ module RailsSemanticLogger
|
|
41
41
|
# Causes excessive log output with Rails 5 RC1
|
42
42
|
payload.delete(:headers)
|
43
43
|
|
44
|
+
params = payload[:params]
|
45
|
+
if params
|
46
|
+
# When logging to JSON the entire tempfile is logged, so convert it to a string.
|
47
|
+
params['file'] = params['file'].inspect if params['file']
|
48
|
+
end
|
49
|
+
|
44
50
|
{
|
45
51
|
message: "Completed ##{payload[:action]}",
|
46
52
|
duration: event.duration,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_semantic_logger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Reid Morrison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|