fluent-plugin-systemd 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fluent/plugin/in_systemd.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cb4c7536e7d15ebea8d31cab4e9bd1902cfcdf3fcb9adba98b7c957d16a78f0
|
4
|
+
data.tar.gz: 1d18922ec4c903834251e2a325e911c9d4746c164b69d2947aadb0b3c768ab3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 601f2f07b040378c78a53f8cdce16a53a3d691a9634b4a8e7d85c4c6bf1ec5c2d84f52271ff0a6040d70437f97f975825ff228809e7524921b02bdcd0715c154
|
7
|
+
data.tar.gz: 0f42d023c28dbd644391693c7973ccb34542fc71fcf5e0b2ac97178522549fc7e2dd43b6472622d313a9008073c9712d8b15eb809bc676ca1121e5ec5cd669a9
|
@@ -21,7 +21,7 @@ require 'fluent/plugin/systemd/entry_mutator'
|
|
21
21
|
module Fluent
|
22
22
|
module Plugin
|
23
23
|
# Fluentd plugin for reading from the systemd journal
|
24
|
-
class SystemdInput < Input
|
24
|
+
class SystemdInput < Input # rubocop:disable Metrics/ClassLength
|
25
25
|
Fluent::Plugin.register_input('systemd', self)
|
26
26
|
|
27
27
|
helpers :timer, :storage
|
@@ -63,6 +63,10 @@ module Fluent
|
|
63
63
|
|
64
64
|
def shutdown
|
65
65
|
@running = false
|
66
|
+
@journal&.close
|
67
|
+
@journal = nil
|
68
|
+
@pos_storage = nil
|
69
|
+
@mutator = nil
|
66
70
|
super
|
67
71
|
end
|
68
72
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-systemd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ed Robinson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|