diff --git a/lib/fluent/root_agent.rb b/lib/fluent/root_agent.rb index 16ce67eab0..e98ccadd3a 100644 --- a/lib/fluent/root_agent.rb +++ b/lib/fluent/root_agent.rb @@ -173,7 +173,7 @@ def shutdown # Fluentd's shutdown sequence is stop, before_shutdown, shutdown, a log.debug "calling #{method} on #{kind} plugin", type: Plugin.lookup_type_from_class(instance.class), plugin_id: instance.plugin_id instance.send(method) unless instance.send(checker) rescue Exception => e - log.warn "unexpected error while calling #{method} on #{kind} plugin", pluguin: instance.class, plugin_id: instance.plugin_id, error: e + log.warn "unexpected error while calling #{method} on #{kind} plugin", plugin: instance.class, plugin_id: instance.plugin_id, error: e log.warn_backtrace end end