fluent-plugin-rds-mysql-log 0.1.11 → 0.1.12
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/fluent-plugin-rds-mysql-log.gemspec +1 -1
- data/lib/fluent/plugin/in_rds_mysql_log.rb +1 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e0cb7bdaabe8aba123118d767991c34e2fd388712a8615e2349d1e1e479eef8
|
4
|
+
data.tar.gz: 5ce5f71f1d55da0abd18bbecf17a8b003e5d628f452e969431446054bfb6dfa3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93c286cb8d436beff1c0c354e7df195cf8ad7e153c8956d1e0af99ae7c4b4903ab9a97148f4a005c2b9de2a720b6e4166b9cc877fa0b300919d51920ad7c73ce
|
7
|
+
data.tar.gz: 9e3506a4e2e5cebed34794a37ec29cd8bf2b6818ea6812a1841fec706e4288c0c06f52dcb203b8faca1b782f26e792f2171b9e3ba80a072200c1dbc781ff357d
|
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = 'fluent-plugin-rds-mysql-log'
|
8
|
-
spec.version = '0.1.
|
8
|
+
spec.version = '0.1.12'
|
9
9
|
spec.authors = ['Junaid Ali']
|
10
10
|
spec.email = ['jonnie36@yahoo.com']
|
11
11
|
spec.summary = 'Amazon RDS Mysql logs input plugin'
|
@@ -147,11 +147,7 @@ class Fluent::Plugin::RdsMysqlLogInput < Fluent::Plugin::Input
|
|
147
147
|
@pos_last_written_timestamp = item[:last_written] if @pos_last_written_timestamp < item[:last_written]
|
148
148
|
|
149
149
|
log_file_name = item[:log_file_name]
|
150
|
-
marker =
|
151
|
-
@pos_info.has_key?(log_file_name) ? @pos_info[log_file_name] : "0"
|
152
|
-
else
|
153
|
-
"0"
|
154
|
-
end
|
150
|
+
marker = should_track_marker?(log_file_name) ? @pos_info[log_file_name] || "0" : "0"
|
155
151
|
|
156
152
|
log.debug "download log from rds: log_file_name=#{log_file_name}, marker=#{marker}"
|
157
153
|
logs = @rds.download_db_log_file_portion(
|