Specifically within the dreamhost environment (fastcgi)? (that's the only place I've attempted deploying out to). I've placed a few logger.debug statements in my application but don't see them popping up anywhere - production.log, error.log ... and I have no idea where it might be going out to? Or should I use something like logger.error? thanks for the help! - J
on 2007-05-22 23:54
on 2007-05-23 00:05
just tracked something down that said to try logger.warn and that seems to be doing the trick. carry on :)
on 2007-05-23 00:43
Rails uses built-in Ruby Logger class and sets logging level based on running environment. INFO for production and DEBUG for all other environments. As you can see from the Ruby documentation, the order of levels is FATAL, ERROR, WARN, INFO, DEBUG and logger only logs messages in lower levels, so it doesn't log debug messages when the level is INFO. Look here for more info: http://www.ruby-doc.org/core/classes/Logger.html HTH, - H On 5/23/07, Joel Oliveira <email@example.com> wrote: > thanks for the help! > > - J > > > > -- Husein Choroomi, CEO, CTO Yucca Intelligence Development http://www.YuccaHQ.com We make the web a better place!
on 2007-05-23 21:38
This is all extremely helpful information. Thank you, Husein, for the follow up with all the goods! - Joel