logstash-input-file 3.1.1 → 3.1.2
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 +4 -4
- data/CHANGELOG.md +2 -0
- data/lib/logstash/inputs/file.rb +2 -2
- data/logstash-input-file.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 517e94fddd4ca73a733b01e023edf1675030d6f8
|
4
|
+
data.tar.gz: a325e49d3bf6597fe0ade161ff4942c9dd4145cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83584264653eb07b7a7600744c1e45565f68f4c10f4bb53c7736fedc1801386d73cfbcdb77070058aefd8361dc2a875a6b81e91f7fdb46455fe0ae5745be6556
|
7
|
+
data.tar.gz: 31ad48d0a47159dfcf8d5df2706688c89dd30618c1209d8dae744d180c65936665b931b4af8ce3a9a50f8e232853143d2862c1deb32c654bda7358db43d80cba
|
data/CHANGELOG.md
CHANGED
data/lib/logstash/inputs/file.rb
CHANGED
@@ -172,7 +172,7 @@ class LogStash::Inputs::File < LogStash::Inputs::Base
|
|
172
172
|
require "addressable/uri"
|
173
173
|
require "filewatch/tail"
|
174
174
|
require "digest/md5"
|
175
|
-
@logger.
|
175
|
+
@logger.trace("Registering file input", :path => @path)
|
176
176
|
@host = Socket.gethostname.force_encoding(Encoding::UTF_8)
|
177
177
|
# This check is Logstash 5 specific. If the class does not exist, and it
|
178
178
|
# won't in older versions of Logstash, then we need to set it to nil.
|
@@ -226,7 +226,7 @@ class LogStash::Inputs::File < LogStash::Inputs::Base
|
|
226
226
|
# Migrate any old .sincedb to the new file (this is for version <=1.1.1 compatibility)
|
227
227
|
old_sincedb = File.join(sincedb_dir, ".sincedb")
|
228
228
|
if File.exists?(old_sincedb)
|
229
|
-
@logger.
|
229
|
+
@logger.debug("Renaming old ~/.sincedb to new one", :old => old_sincedb,
|
230
230
|
:new => @sincedb_path)
|
231
231
|
File.rename(old_sincedb, @sincedb_path)
|
232
232
|
end
|
data/logstash-input-file.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-input-file'
|
4
|
-
s.version = '3.1.
|
4
|
+
s.version = '3.1.2'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "Stream events from files."
|
7
7
|
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-file
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|