logstash-output-coralogix 1.0.3 → 1.0.4

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
- SHA1:
3
- metadata.gz: be3235a98961304b530c10dc5e315471f980ae8e
4
- data.tar.gz: 96a0b979e276641c4b5dc584741ad5c0ac53a2c4
2
+ SHA256:
3
+ metadata.gz: cff16c5ca841dcaba15f3b703e88f90cb99f25aae515a423e216ee8474f45583
4
+ data.tar.gz: 3a1cca6aa31c6c0220b15c7403884ac83524399d6efa6b50acab351dabbb23ee
5
5
  SHA512:
6
- metadata.gz: aad65d89ae769241db5cf32e86a0bfe8bdabc6096dc2dcc19fd99bb8a5e164fe28ebde6f8ffa86670760dd5b7e820436adf8aa092f6b79fc729414f968a19382
7
- data.tar.gz: d5423bc13c523e9be2e9208b33df2aae51ca297c8ec20343efd5b2b5d396a0006fdb0c5009632faef0b4a050038274d72c901aa4e06431639efee96b3e94d0ba
6
+ metadata.gz: e1f1102f5c474c66abf7d77a3edff3534ae0aad91c440144f46a993f8bf9a84adab43b4c23a3051cb961fc28b0a26092aa472dc82d8a2ab50aab75c638023ecb
7
+ data.tar.gz: 6c5b73a7157121546c9d3bf95f7693f66fd5188c678d80f8bba8c3112eec32aa979cdfc90a8300242d5236f1a39420eebec960009a2824a25ade695c6499a633
@@ -95,11 +95,11 @@ class LogStash::Outputs::Coralogix < LogStash::Outputs::Base
95
95
 
96
96
  def get_logger(record)
97
97
 
98
- return @logger if @configured
98
+ return @logger if @configured && !@logger.nil?
99
99
 
100
100
  app_name, sub_name = get_app_sub_name(record)
101
101
 
102
- if !@loggers.key?("#{app_name}.#{sub_name}")
102
+ if !@loggers.key?("#{app_name}.#{sub_name}") || @loggers.fetch("#{app_name}.#{sub_name}", nil).nil?
103
103
  @loggers["#{app_name}.#{sub_name}"] = Coralogix::CoralogixLogger.new config_params["PRIVATE_KEY"], app_name, sub_name, debug, "Logstash (#{version?})", force_compression, proxy
104
104
  end
105
105
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-coralogix'
3
- s.version = '1.0.3'
4
- s.date = '2019-06-19'
3
+ s.version = '1.0.4'
4
+ s.date = '2020-10-12'
5
5
  s.licenses = ['Apache-2.0']
6
6
  s.summary = 'Deliver the logs to Coralogix service.'
7
7
  s.description = 'This gem is a Logstash output plugin to deliver the logs to Coralogix service.'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-coralogix
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Coralogix
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-19 00:00:00.000000000 Z
11
+ date: 2020-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core-plugin-api
@@ -87,7 +87,7 @@ licenses:
87
87
  metadata:
88
88
  logstash_plugin: 'true'
89
89
  logstash_group: output
90
- post_install_message:
90
+ post_install_message:
91
91
  rdoc_options: []
92
92
  require_paths:
93
93
  - lib
@@ -102,9 +102,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  requirements: []
105
- rubyforge_project:
106
- rubygems_version: 2.5.2.1
107
- signing_key:
105
+ rubyforge_project:
106
+ rubygems_version: 2.7.3
107
+ signing_key:
108
108
  specification_version: 4
109
109
  summary: Deliver the logs to Coralogix service.
110
110
  test_files: