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?
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.