mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-11 09:40:07 -04:00
Set default log level for VAGRANT_LOG
This commit is contained in:
parent
4a9948c245
commit
0904996af1
1 changed files with 3 additions and 0 deletions
|
|
@ -247,6 +247,9 @@ func logger(args []string) ([]string, hclog.Logger, io.Writer, error) {
|
|||
}
|
||||
}
|
||||
|
||||
// Set default log level
|
||||
_ = os.Setenv("VAGRANT_LOG", "fatal")
|
||||
|
||||
// Process arguments looking for `-v` flags to control the log level.
|
||||
// This overrides whatever the env var set.
|
||||
var outArgs []string
|
||||
|
|
|
|||
Loading…
Reference in a new issue