You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
735 B

2 years ago
2 years ago
2 years ago
  1. require_relative "boot"
  2. require "rails/all"
  3. # Require the gems listed in Gemfile, including any gems
  4. # you've limited to :test, :development, or :production.
  5. Bundler.require(*Rails.groups)
  6. module Blog
  7. class Application < Rails::Application
  8. # Initialize configuration defaults for originally generated Rails version.
  9. config.load_defaults 7.0
  10. # Efficient logging with Semantic Logger
  11. require Rails.root.join("lib", "formatters", "basic_formatter")
  12. config.rails_semantic_logger.add_file_appender = false
  13. config.rails_semantic_logger.semantic = false
  14. config.rails_semantic_logger.started = true
  15. config.rails_semantic_logger.processing = true
  16. config.rails_semantic_logger.rendered = true
  17. end
  18. end