how to do Loging in Rails

0 views
Skip to first unread message

Tom Mac

unread,
Feb 28, 2010, 11:15:33 PM2/28/10
to rubyonra...@googlegroups.com
Hi
My question may be too silly. But I Don't know how to work with
logging functionality in Ruby and Rails. The thing is Ruby/Rails is my
first technology as a professional. I read some basics like logger.info,
logger.debug etc But I did not understand how to apply those to my
application covering all the environments like development,production,
etc. Where to start? And how to activate it for various environments?Has
this any connection with exception notification etc. These are a bundle
of questions coming to my mind. Please guide me. Also please provide me
with some links


Thanks in advance
Tom
--
Posted via http://www.ruby-forum.com/.

Colin Law

unread,
Mar 1, 2010, 4:22:46 AM3/1/10
to rubyonra...@googlegroups.com

The RoR guide on Debugging at http://guides.rubyonrails.org/ has
useful info on using the logger.

Colin

Reply all
Reply to author
Forward
0 new messages