semantic_logger_ecs_addon 0.1.0 → 0.1.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: 9d56d0ab9e926ca66fd4889271eb4b5157b41b2b6719b6fc22ebf2acd29745eb
4
- data.tar.gz: 518de9e56bd832649fdf2cda28da0a0453461bafa2895ac9cf4169058625d817
3
+ metadata.gz: c737f17a901802f4dc4489f49060bc1905d29bac92978d044ed819325b470589
4
+ data.tar.gz: 87d0e96cddceefaa89f3fdcf98e33be743c74d4513bbbdd2f07dd76cd6b85ce0
5
5
  SHA512:
6
- metadata.gz: ca8f68e438c4f018e1205b513455120f8b8cefbe311b980614e4a7f739672391362b58203d99696b4d51a21e80f726488ffcb6d03893ec277822fd0caa00e47a
7
- data.tar.gz: 30f219878394f83e632e222241a23323cb090323faafe86a0dccb0d430ad7cc4cea95cd942db3070e892b5765f911f6bd4f53893b66a64b992fd97124420f1a4
6
+ metadata.gz: c0492a1e95e2d56ff67313adbab5c06de1e6a27468f17fc5c688d8993fe5fa645dbdf2282f89fd7297c8d9b6581bb125129284c3e48dc02bcfc1e2a52a4cc92a
7
+ data.tar.gz: 4e72ea15867334218bda97eda2f74025ff522226d41bec7fd366c455e2fc5d0a9c050be2a909ee6ce68d257a8301397f668c91704b1e757ea13d40ca4ace36d8
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
@@ -1 +1,2 @@
1
- ��=3D�od��q&|}!������UE��d��"��0��}�J�ۮNg����{�P��GL���"���C<aB�{X����:��V�n`���g>�������O�'�\�H�`�O���$����G�i�<�;�8�-�m&�B9�`.+�p BNl�,�&���\��*���WfvI%���\����k�D愕ւo�d���@�B�P
1
+ 4K�#�
2
+ o��1���i} ����
@@ -162,11 +162,13 @@ module SemanticLoggerEcsAddon
162
162
  end
163
163
 
164
164
  def format_payload
165
- return unless log.payload.respond_to?(:empty?) && !log.payload.empty?
165
+ if log.payload.respond_to?(:empty?) && !log.payload.empty?
166
+ self.formatted_payload = Utils::Hash[**log.payload]
166
167
 
167
- self.formatted_payload = Utils::Hash[**log.payload]
168
-
169
- rack_extract
168
+ rack_extract
169
+ else
170
+ self.formatted_payload = {}
171
+ end
170
172
  end
171
173
 
172
174
  def request
@@ -5,7 +5,7 @@ module SemanticLoggerEcsAddon
5
5
  module Identity
6
6
  NAME = "semantic_logger_ecs_addon"
7
7
  LABEL = "Semantic Logger Ecs Addon"
8
- VERSION = "0.1.0"
8
+ VERSION = "0.1.1"
9
9
  VERSION_LABEL = "#{LABEL} #{VERSION}"
10
10
  SUMMARY = "A semantic logger formatter that formats the logs according to Elastic Common Schema and adds APM trace data if ElasticAPM is enabled."
11
11
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: semantic_logger_ecs_addon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sajeev Ramasamy
@@ -34,7 +34,7 @@ cert_chain:
34
34
  ewungQjw99puFMSK2d/NFj2L2oSvamT0vGoiH63zwx02vLziB6Jbn34/tuDEqUQ9
35
35
  WEUeG6yA2jP44YUZzNP+Xbjpzr/RvJxAmFw+7SNkHkmP3csIS+0TIg==
36
36
  -----END CERTIFICATE-----
37
- date: 2021-06-27 00:00:00.000000000 Z
37
+ date: 2021-06-28 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: semantic_logger
metadata.gz.sig CHANGED
Binary file