It's probably a begginers question...but, in a controller I have:
logger = Logger.new(STDOUT)
logger.info "Testing logger at controller"
When running my app in my machine, I can see this log in
log/development.log file.
When running in production, this log is not printed. Not even with
"puts" ...
Info is the default level for Logger when running in
production...so...Why can't I see my logs in production environmnent ?
Any help ?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.