Sidekiq is logged in both terminal and log file
I am using Sidekiq to queue some jobs on my Rails server. According to the Logging wiki, it is as easy as adding the following to config / sidekiq.yml
---
:verbose: false
:pidfile: ./tmp/pids/sidekiq.pid
:logfile: ./log/sidekiq.log
:concurrency: 25
However, it is now only the logs for this log file, what if I really want to write to STDOUT (at least in development)?
+3
absessive
source
to share
1 answer
Get rid of the instruction log.
bundle exec sidekiq | tee ./log/sidekiq.log
+10
Mike perham
source
to share