I am using logger to log the values of the variables for debuging. Because automatic debugging logs it is diffcult to find values
How to slient automatic logging?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can configure Rails logger in
config/application.rb.config.log_leveldefines the verbosity of the Rails logger. The available log levels are::debug, :info, :warn, :error, :fatal.Example:
Also read information about Logger:
http://guides.rubyonrails.org/debugging_rails_applications.html#the-logger