mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
This file isn't used all the observer logic is already handled in the periodic poller base class.
Fixes #6169
This commit is contained in:
parent
1d21530c56
commit
d063c44293
1 changed files with 0 additions and 19 deletions
|
@ -1,19 +0,0 @@
|
|||
# encoding: utf-8
|
||||
module LogStash module Instrument module PeriodicPoller
|
||||
class PeriodicPollerObserver
|
||||
include LogStash::Util::Loggable
|
||||
|
||||
def initialize(poller)
|
||||
@poller = poller
|
||||
end
|
||||
|
||||
def update(time, result, exception)
|
||||
if exception
|
||||
logger.error("PeriodicPoller exception", :poller => @poller,
|
||||
:result => result,
|
||||
:exception => exception,
|
||||
:executed_at => time)
|
||||
end
|
||||
end
|
||||
end
|
||||
end; end; end
|
Loading…
Add table
Add a link
Reference in a new issue