Where does Rails show the logging output


In some method I am wrting something like this:

Rails.logger.debug("------I WAS HERE ------- ")

I can see that if I put a break point on the next line of that code, it is hitting that break point, using RubyMine IDE and running the server it from its Debug mode, so it has passed that logger.debug method but where did it print it? I can't find it in Console … Is there an easier way?

Best Solution

Logs by default go to the #{Rails.root}/log/#{Rails.env}.log file. Most likely that's development.log in your case.

Related Question