fix(logs): switch to STDERR to avoid breaking completion script
This commit is contained in:
parent
c912f480b7
commit
cc90d09fae
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ struct BaseFormat < Log::StaticFormatter
|
||||||
end
|
end
|
||||||
|
|
||||||
Log.setup do |config|
|
Log.setup do |config|
|
||||||
backend = Log::IOBackend.new(formatter: BaseFormat)
|
backend = Log::IOBackend.new(io: STDERR, formatter: BaseFormat)
|
||||||
config.bind "*", Log::Severity::Info, backend
|
config.bind "*", Log::Severity::Info, backend
|
||||||
|
|
||||||
if ENV["LOG_LEVEL"]?
|
if ENV["LOG_LEVEL"]?
|
||||||
|
|
Loading…
Reference in a new issue