Class: Fluent::NewTailPathInput

Inherits:
NewTailInput
  • Object
show all
Defined in:
lib/fluent/plugin/in_tail_path.rb

Defined Under Namespace

Classes: RouterWrap

Instance Method Summary collapse

Instance Method Details

#configure(conf) ⇒ Object



34
35
36
37
# File 'lib/fluent/plugin/in_tail_path.rb', line 34

def configure(conf)
  super
  @router = RouterWrap.new(@router, @path_key)
end

#receive_lines(lines, tail_watcher) ⇒ Object



39
40
41
42
# File 'lib/fluent/plugin/in_tail_path.rb', line 39

def receive_lines(lines, tail_watcher)
  @router.tail_watcher = tail_watcher
  super
end