Don't print Sidekiq starting message to STDERR.

This commit is contained in:
Guo Xiang Tan 2017-11-03 16:57:48 +08:00
parent 56412adad5
commit 470b1a5bc1
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ class Demon::Sidekiq < Demon::Base
def after_fork
Demon::Sidekiq.after_fork&.call
STDERR.puts "Loading Sidekiq in process id #{Process.pid}"
puts "Loading Sidekiq in process id #{Process.pid}"
require 'sidekiq/cli'
# CLI will close the logger, if we have one set we can be in big
# trouble, if STDOUT is closed in our process all sort of weird