From 0abfd83b6e2a882ea411921b981fe4eb87e74ad7 Mon Sep 17 00:00:00 2001 From: Malcolm Baig Date: Wed, 29 May 2024 12:40:19 +0000 Subject: [PATCH] Fix linting error --- config/initializers/semantic_logger.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/initializers/semantic_logger.rb b/config/initializers/semantic_logger.rb index b3cf5648..2a1c2785 100644 --- a/config/initializers/semantic_logger.rb +++ b/config/initializers/semantic_logger.rb @@ -5,5 +5,6 @@ config.log_tags = [:request_id] # Prepend all log lines with the following tags end -SemanticLogger.add_appender(io: STDOUT, level: Rails.application.config.log_level, formatter: Rails.application.config.log_format) +SemanticLogger.add_appender(io: $stdout, level: Rails.application.config.log_level, +formatter: Rails.application.config.log_format) Rails.application.config.logger.info('Application logging to STDOUT')