logstash-output-custom-solr 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 62542b3b835cb24b2e05b6cc76ec0360933d4162c02705f81c9226fdf3f8bba9
4
- data.tar.gz: f7f9b7d1538fb49ec7bcea230c59b4c989f1a7e33eb3c596dc3741472f84d5d3
3
+ metadata.gz: e7957c319362c814ff7458d975e4fcac3ead5ff6bfa10d20ee82c7f7c702caa7
4
+ data.tar.gz: 7551e16ea4a5e590cb7f6365e0033ea408a2267032aba73cac8f4f33767a816a
5
5
  SHA512:
6
- metadata.gz: 909bb936f3e15c651f7a29e8a2a3469448390e5a4a20d46858f7ccd7b38f430cecf4b175d039a76c66fc2fd1a8c8abeab3bd37a0e828492ae02573006a8f4227
7
- data.tar.gz: ae72c0a015e40e1de2c5865168a64646cd6e9b52546462f7426596b4bbb30ed1bec0ae1f70f75c682b1ec398c8d4aae10e6dedcb98702aa271e976b441c45018
6
+ metadata.gz: ec06752815fd5ba1f9d213d7279f48d95efb38bd20f1ed1953d421c9f93b8a7bdda3384abe41d97df24692dbbf81b8c7f6363930c6dccd519948e27f60ff845d
7
+ data.tar.gz: fa81d0fdd11ca7aed0a77b9749faece2d438a2db58667537f278df5f3752127ba9d88893695ab4a245c79b151ccf3bc1380e86add5f03217d10779fa485ec196
@@ -114,7 +114,7 @@ class LogStash::Outputs::Solr < LogStash::Outputs::Base
114
114
  end
115
115
 
116
116
  rescue Exception => e
117
- @logger.warn('An error occurred while indexing: #{e.message}')
117
+ @logger.warn("An error occurred while indexing", :exception => e.inspect)
118
118
  end # def flush
119
119
 
120
120
  public
@@ -140,7 +140,7 @@ class LogStash::Outputs::Solr < LogStash::Outputs::Base
140
140
  return unique_key
141
141
 
142
142
  rescue Exception => e
143
- @logger.warn 'Unique key: #{e.message}'
143
+ @logger.warn("Unique key", :exception => e.inspect)
144
144
  end # def get_unique_key
145
145
 
146
146
  private
@@ -162,6 +162,6 @@ class LogStash::Outputs::Solr < LogStash::Outputs::Base
162
162
  return fields
163
163
 
164
164
  rescue Exception => e
165
- @logger.warn 'Fields: #{e.message}'
165
+ @logger.warn("Could not get fields", :exception => e.inspect)
166
166
  end # def get_fields
167
167
  end # class LogStash::Outputs::Solr
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-custom-solr'
3
- s.version = "0.1.3"
3
+ s.version = "0.1.4"
4
4
  s.licenses = ["Apache License (2.0)"]
5
5
  s.summary = "Logstash output plugin for sending data to Solr."
6
6
  s.description = "Logstash output plugin for sending data to Solr. It supports SolrCloud, not only Standalone Solr."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-custom-solr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Minoru Osuka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-11 00:00:00.000000000 Z
11
+ date: 2018-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement