mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
Redirect server output warnings to stdout (#3831)
This commit is contained in:
@@ -109,6 +109,14 @@ func init() {
|
||||
},
|
||||
}
|
||||
|
||||
serverCmdUi := &cli.ColoredUi{
|
||||
ErrorColor: cli.UiColorRed,
|
||||
WarnColor: cli.UiColorYellow,
|
||||
Ui: &cli.BasicUi{
|
||||
Writer: os.Stdout,
|
||||
},
|
||||
}
|
||||
|
||||
loginHandlers := map[string]LoginHandler{
|
||||
"aws": &credAws.CLIHandler{},
|
||||
"cert": &credCert.CLIHandler{},
|
||||
@@ -404,7 +412,7 @@ func init() {
|
||||
"server": func() (cli.Command, error) {
|
||||
return &ServerCommand{
|
||||
BaseCommand: &BaseCommand{
|
||||
UI: ui,
|
||||
UI: serverCmdUi,
|
||||
},
|
||||
AuditBackends: map[string]audit.Factory{
|
||||
"file": auditFile.Factory,
|
||||
|
||||
Reference in New Issue
Block a user