Puma exit like thin with rails

Using thin with rails shows me a lot of information in each query (time, sql query, params ...) in the terminal, when I use puma, all this information is only logged.

Is there a way to display this information on the console?

+4
source share
2 answers

I believe that you can simply follow the instructions here , although this is for Unicorn / Papertrail.

I put these lines in development.rb

config.logger = Logger.new(STDOUT)
config.logger.level = Logger.const_get('INFO')
config.log_level    = :info

http://help.papertrailapp.com/kb/configuration/unicorn/

+2
source

package exec rails server Puma -b 0.0.0.0 -p 3000

-1
source

All Articles