Development logs for Thin server
config.logger = Logger.new(STDOUT)
config.logger.level = Logger.constget(
ENV['LOGLEVEL'] ? ENV['LOG_LEVEL'].upcase : 'DEBUG'
)
Written by Gabriel Cebrian
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#