Method: Fluent::Plugin::Output#log_retry_error
- Defined in:
- lib/fluent/plugin/output.rb
#log_retry_error(error, chunk_id_hex, using_secondary) ⇒ Object
1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 |
# File 'lib/fluent/plugin/output.rb', line 1344 def log_retry_error(error, chunk_id_hex, using_secondary) return unless error if using_secondary msg = "failed to flush the buffer with secondary output." else msg = "failed to flush the buffer." end log.warn(msg, retry_times: @retry.steps, next_retry_time: @retry.next_time.round, chunk: chunk_id_hex, error: error) log.warn_backtrace(error.backtrace) end |