diff --git a/lib/sidekiq/cli.rb b/lib/sidekiq/cli.rb index f4b14341..4ae3f604 100644 --- a/lib/sidekiq/cli.rb +++ b/lib/sidekiq/cli.rb @@ -326,8 +326,9 @@ module Sidekiq end ns = opts.delete(:namespace) if ns - Sidekiq.logger.warn("namespace should be set in your ruby initializer, is ignored in config file") - Sidekiq.logger.warn("config.redis = { :url => ..., :namespace => '#{ns}' }") + # logger hasn't been initialized yet, puts is all we have. + puts("namespace should be set in your ruby initializer, is ignored in config file") + puts("config.redis = { :url => ..., :namespace => '#{ns}' }") end opts end diff --git a/test/config.yml b/test/config.yml index 2caf26a3..36290592 100644 --- a/test/config.yml +++ b/test/config.yml @@ -3,7 +3,6 @@ :require: ./test/fake_env.rb :pidfile: /tmp/sidekiq-config-test.pid :logfile: /tmp/sidekiq.log -:namespace: sidekiq :concurrency: 50 :queues: - [<%="very_"%>often, 2]