mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
parent
0b457996d0
commit
5624b17735
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ class LogStash::Runner < Clamp::StrictCommand
|
|||
rescue => e
|
||||
# if logger itself is not initialized
|
||||
if LogStash::Logging::Logger.get_logging_context.nil?
|
||||
puts e
|
||||
$stderr.puts "#{I18n.t("oops")} :error => #{e}, :backtrace => #{e.backtrace}"
|
||||
else
|
||||
logger.fatal(I18n.t("oops"), :error => e, :backtrace => e.backtrace)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue