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.

21 lines
768 B

1 year ago
1 year ago
1 year ago
1 year ago
1 year 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. class Application < Rails::Application
  7. # Initialize configuration defaults for originally generated Rails version.
  8. config.load_defaults 7.0
  9. # Efficient logging with Semantic Logger
  10. require_relative "../lib/formatters/basic_formatter"
  11. config.semantic_logger.add_appender(io: $stdout, formatter: BasicFormatter.new)
  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