Skip to content

Commit

Permalink
use direct dispatcher for StdOutLogFormat as well
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorerlingsson committed Jan 9, 2024
1 parent c13a0c7 commit 7915f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lavinmq/launcher.cr
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ module LavinMQ
backend = if ENV.has_key?("JOURNAL_STREAM")
::Log::IOBackend.new(io: log_file, formatter: JournalLogFormat, dispatcher: ::Log::DirectDispatcher)
else
::Log::IOBackend.new(io: log_file, formatter: StdoutLogFormat)
::Log::IOBackend.new(io: log_file, formatter: StdoutLogFormat, dispatcher: ::Log::DirectDispatcher)
end

broadcast_backend.append(backend, @config.log_level)
Expand Down

0 comments on commit 7915f9d

Please sign in to comment.