On Fri, 2006-07-21 at 18:29 +0200, Mike Kogan wrote:> 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.
--
Zed A. Shaw
http://www.zedshaw.com/
http://mongrel.rubyforge.org/
http://www.railsmachine.com/ -- Need Mongrel support?