bin/rocketjob in rocketjob-2.0.0.rc3 vs bin/rocketjob in rocketjob-2.0.0
- old
+ new
@@ -6,10 +6,10 @@
# Start a rocketjob server instance from the command line
begin
RocketJob::CLI.new(ARGV).run
rescue => exc
# Failsafe logger that writes to STDERR
- SemanticLogger.add_appender(STDERR, :error, &SemanticLogger::Appender::Base.colorized_formatter)
+ SemanticLogger.add_appender(io: STDERR, level: :error, formatter: :color)
SemanticLogger['RocketJob'].error('Rocket Job shutting down due to exception', exc)
SemanticLogger.flush
exit 1
end