I am migrating from mongrel_rails in development mode to production
mode. I have a number of debugging statements based on “puts” in my code
that emit info that I see scroll by when mongrel_rails is not daemonized
and running in development mode.
In daemonized production mode what happens to the output from these
statements? I have looked into all the logs, and while I see the
requests I don’t see the output of my “puts” statements.
I am migrating from mongrel_rails in development mode to production
mode. I have a number of debugging statements based on “puts” in my code
that emit info that I see scroll by when mongrel_rails is not daemonized
and running in development mode.
In daemonized production mode what happens to the output from these
statements? I have looked into all the logs, and while I see the
requests I don’t see the output of my “puts” statements.
They should show up in log/mongrel.log, and you should be using Rail’s
logger. Most likely your puts calls are going out on the request since
cgi.rb hijacks the $stdout for it’s purposes.