fluent-plugin-tail-multiline 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.
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "fluent-plugin-tail-multiline"
7
- gem.version = "0.1.3"
7
+ gem.version = "0.1.4"
8
8
  gem.authors = ["Tomohisa Ota"]
9
9
  gem.email = ["tomohisa.ota+github@gmail.com"]
10
10
  gem.description = "Extend tail plugin to support log with multiple line"
@@ -155,7 +155,7 @@ module Fluent
155
155
  begin
156
156
  time, record = @parser.parse(buf)
157
157
  rescue
158
- $log.warn line.dump, :error=>$!.to_s
158
+ $log.warn buf.dump, :error=>$!.to_s
159
159
  $log.debug_backtrace
160
160
  end
161
161
  return nil,nil unless time && record
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-tail-multiline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: