lib/hanami/generators/app/application.rb.tt in hanami-0.9.2 vs lib/hanami/generators/app/application.rb.tt in hanami-1.0.0.beta1
- old
+ new
@@ -269,56 +269,26 @@
# DEVELOPMENT
#
configure :development do
# Don't handle exceptions, render the stack trace
handle_exceptions false
-
- # Logger
- # See: http://hanamirb.org/guides/projects/logging
- #
- # Logger stream. It defaults to STDOUT.
- # logger.stream "log/development.log"
- #
- # Logger level. It defaults to DEBUG
- # logger.level :debug
- #
- # Logger format. It defaults to DEFAULT
- # logger.format :default
end
##
# TEST
#
configure :test do
# Don't handle exceptions, render the stack trace
handle_exceptions false
-
- # Logger
- # See: http://hanamirb.org/guides/projects/logging
- #
- # Logger level. It defaults to ERROR
- logger.level :error
end
##
# PRODUCTION
#
configure :production do
# scheme 'https'
# host 'example.org'
# port 443
-
- # Logger
- # See: http://hanamirb.org/guides/projects/logging
- #
- # Logger stream. It defaults to STDOUT.
- # logger.stream "log/production.log"
- #
- # Logger level. It defaults to INFO
- logger.level :info
-
- # Logger format.
- logger.format :json
assets do
# Don't compile static assets in production mode (eg. Sass, ES6)
#
# See: http://www.rubydoc.info/gems/hanami-assets#Configuration