backup output should go to stdout not stderr

pull/8462/head
Matthew McGinn 2017-06-07 13:11:58 -04:00
parent 160fafb6c0
commit d9f984a886
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ func NewCommand() *Command {
// Run executes the program.
func (cmd *Command) Run(args ...string) error {
// Set up logger.
cmd.Logger = log.New(cmd.Stderr, "", log.LstdFlags)
cmd.Logger = log.New(cmd.Stdout, "", log.LstdFlags)
// Parse command line arguments.
retentionPolicy, shardID, since, err := cmd.parseFlags(args)