Skip to content

Commit

Permalink
vpython: don't mess with logging in -dev mode.
Browse files Browse the repository at this point in the history
BUG=None
TEST=None
R=iannucci@chromium.org

Review-Url: https://codereview.chromium.org/2836383003
  • Loading branch information
danjacques authored and Commit bot committed Apr 26, 2017
1 parent 49b4ba7 commit 4ed1741
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions vpython/application/application.go
Expand Up @@ -88,13 +88,7 @@ func (cfg *Config) mainDev(c context.Context, args []string) error {
c := c

// Install our Config instance into the Context.
c = withConfig(c, cfg)

// Drop down to Info level debugging.
if logging.GetLevel(c) > logging.Info {
c = logging.SetLevel(c, logging.Info)
}
return c
return withConfig(c, cfg)
},
Commands: []*subcommands.Command{
subcommands.CmdHelp,
Expand Down

0 comments on commit 4ed1741

Please sign in to comment.