fix(logs): switch to STDERR to avoid breaking completion script
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
Glenn Y. Rolland 2024-08-04 22:42:27 +02:00
parent c912f480b7
commit cc90d09fae

View file

@ -22,7 +22,7 @@ struct BaseFormat < Log::StaticFormatter
end
Log.setup do |config|
backend = Log::IOBackend.new(formatter: BaseFormat)
backend = Log::IOBackend.new(io: STDERR, formatter: BaseFormat)
config.bind "*", Log::Severity::Info, backend
if ENV["LOG_LEVEL"]?