fluent-plugin-cloudwatch-ingest 0.1.40 → 0.1.41
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 071cd84a70a8fea5b961a52942f920bb258eb09d
|
4
|
+
data.tar.gz: f4f34350bc7a06254a73b4d2162dcb367a3c74f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 212b6281c3557b089241ea33b668f47f5dff63881e878b9ec1ef1f836b101db1766401628e21a3994e7d56121035769f23556a721b34a67ea0eac2acf369f094
|
7
|
+
data.tar.gz: 2d35b1ed9fb494e5b976ff400544eb50c4b441e99ef837bb554f6847d51c8b208d9e3021cdd1ea1ae8988052cf6bae542e3c177534bf4a99da2568608bca4ef9
|
@@ -237,18 +237,18 @@ module Fluent::Plugin
|
|
237
237
|
self.statefile = Pathname.new(@filepath).open('w+')
|
238
238
|
save
|
239
239
|
rescue => boom
|
240
|
-
@log.error("Unable to create new
|
240
|
+
@log.error("Unable to create new file #{statefile.path}: #{boom}")
|
241
241
|
end
|
242
242
|
end
|
243
243
|
|
244
244
|
# Attempt to obtain an exclusive flock on the file and raise and
|
245
245
|
# exception if we can't
|
246
|
-
@log.info("Obtaining exclusive lock on state file #{statefile}")
|
246
|
+
@log.info("Obtaining exclusive lock on state file #{statefile.path}")
|
247
247
|
lockstatus = statefile.flock(File::LOCK_EX | File::LOCK_NB)
|
248
248
|
raise CloudwatchIngestInput::State::LockFailed if lockstatus == false
|
249
249
|
|
250
250
|
@store.merge!(Psych.safe_load(statefile.read))
|
251
|
-
@log.info("Loaded #{@store.keys.size}
|
251
|
+
@log.info("Loaded #{@store.keys.size} loggroups from #{statefile.path}")
|
252
252
|
end
|
253
253
|
|
254
254
|
def save
|