I have set up log4r
as per outlined here: "How to configure Log4r with Rails 3.0.x?"
However now I'm faced with unicorn not sending its output to the log4r logs. How do you do this?
I have set up log4r
as per outlined here: "How to configure Log4r with Rails 3.0.x?"
However now I'm faced with unicorn not sending its output to the log4r logs. How do you do this?
does this comment help?
in your config, Rails isn't overriding the "file" config value of the outputter - the argument is "filename" :) It defaults to the name of the file/command that started the process. Note that any custom file name you specify must have a file extension, or it will fail to stick the date in the file name! – Nevir Aug 24 '11 at 22:05