|
@ -6,15 +6,17 @@ require "rails/all" |
|
|
# you've limited to :test, :development, or :production. |
|
|
# you've limited to :test, :development, or :production. |
|
|
Bundler.require(*Rails.groups) |
|
|
Bundler.require(*Rails.groups) |
|
|
|
|
|
|
|
|
class Application < Rails::Application |
|
|
|
|
|
# Initialize configuration defaults for originally generated Rails version. |
|
|
|
|
|
config.load_defaults 7.0 |
|
|
|
|
|
|
|
|
module Blog |
|
|
|
|
|
class Application < Rails::Application |
|
|
|
|
|
# Initialize configuration defaults for originally generated Rails version. |
|
|
|
|
|
config.load_defaults 7.0 |
|
|
|
|
|
|
|
|
# Efficient logging with Semantic Logger |
|
|
|
|
|
require Rails.root.join("lib", "formatters", "basic_formatter") |
|
|
|
|
|
config.rails_semantic_logger.add_file_appender = false |
|
|
|
|
|
config.rails_semantic_logger.semantic = false |
|
|
|
|
|
config.rails_semantic_logger.started = true |
|
|
|
|
|
config.rails_semantic_logger.processing = true |
|
|
|
|
|
config.rails_semantic_logger.rendered = true |
|
|
|
|
|
|
|
|
# Efficient logging with Semantic Logger |
|
|
|
|
|
require Rails.root.join("lib", "formatters", "basic_formatter") |
|
|
|
|
|
config.rails_semantic_logger.add_file_appender = false |
|
|
|
|
|
config.rails_semantic_logger.semantic = false |
|
|
|
|
|
config.rails_semantic_logger.started = true |
|
|
|
|
|
config.rails_semantic_logger.processing = true |
|
|
|
|
|
config.rails_semantic_logger.rendered = true |
|
|
|
|
|
end |
|
|
end |
|
|
end |