|
|
@ -6,18 +6,23 @@ require "rails/all" |
|
|
|
# you've limited to :test, :development, or :production. |
|
|
|
Bundler.require(*Rails.groups) |
|
|
|
|
|
|
|
module Blog |
|
|
|
class Application < Rails::Application |
|
|
|
class Application < Rails::Application |
|
|
|
# Initialize configuration defaults for originally generated Rails version. |
|
|
|
config.load_defaults 7.0 |
|
|
|
|
|
|
|
# Configuration for the application, engines, and railties goes here. |
|
|
|
# |
|
|
|
# These settings can be overridden in specific environments using the files |
|
|
|
# in config/environments, which are processed later. |
|
|
|
# |
|
|
|
# config.time_zone = "Central Time (US & Canada)" |
|
|
|
# config.eager_load_paths << Rails.root.join("extras") |
|
|
|
config.rails_semantic_logger.semantic = false |
|
|
|
config.rails_semantic_logger.started = false |
|
|
|
config.rails_semantic_logger.processing = true |
|
|
|
config.rails_semantic_logger.rendered = true |
|
|
|
|
|
|
|
end |
|
|
|
config.semantic_logger.backtrace_level = :info |
|
|
|
config.rails_semantic_logger.ap_options = { multiline: true } |
|
|
|
config.colorize_logging = false |
|
|
|
config.rails_semantic_logger.console_logger = false |
|
|
|
|
|
|
|
$stdout.sync = true |
|
|
|
config.rails_semantic_logger.add_file_appender = false |
|
|
|
|
|
|
|
require_relative "../lib/formatters/basic_formatter" |
|
|
|
config.semantic_logger.add_appender(io: $stdout, formatter: BasicFormatter.new) |
|
|
|
end |