Rails.logger.info or debug not showing up in Heroku logs or papertrail

I am using Rails.logger.info to print debugging information, which works in development via the output of the rails server, but when I put it up to Heroku its not showing/printing out any of the input.

Here is a typical call

  Rails.logger.debug "building post"

If anyone get recommend another way of getting it to output to the logs or papertrail it would be very much appreciated.


Source: ruby

Leave a Reply