We've been using unicorn to deploy our application. Everything went fine except for the production.log file, which turned out to be unreadable because the way unicorn was designed. Every instance of unicorn wrote to the same file, causing all the lines spaghetti'ed together.
So is there a way to tell the logger to log independently across multiple unicorn instances?
edit your
unicorn.conf.rb
, and change theafter_fork
block to something like: