Only allow mappers logging output if explicitly requested

This commit is contained in:
Chris Roberts 2021-11-09 13:08:41 -08:00 committed by Paul Hinze
parent 4a97d86b78
commit 0c1ff17c43
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -249,6 +249,10 @@ module Vagrant
end
end
end
if ENV["VAGRANT_LOG_MAPPER"] == ""
Log4r::Logger.new("vagrantplugins::command::serve::mappers::internal")
l.outputters = nil
end
@_server_mode = true
end