Log output now goes on stderr by stdout

This commit is contained in:
Mitchell Hashimoto 2012-01-19 17:12:18 -08:00
parent e68eb1f4f3
commit 527b79853c
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
- Fix `forward_agent` not working when outside of blocks. [GH-651]
- Fix issue causing custom guest implementations to not load properly.
- Filter clear screen character out of output on SSH.
- Log output now goes on `stderr`, since it is utility information.
## 0.9.1 (January 18, 2012)

View File

@ -35,7 +35,7 @@ if ENV["VAGRANT_LOG"] && ENV["VAGRANT_LOG"] != ""
# logs as long as we have a valid level.
if level
logger = Log4r::Logger.new("vagrant")
logger.outputters = Log4r::Outputter.stdout
logger.outputters = Log4r::Outputter.stderr
logger.level = level
logger = nil
end