Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: vpython/application/application.go

Issue 2836383003: vpython: don't mess with logging in -dev mode. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vpython/application/application.go
diff --git a/vpython/application/application.go b/vpython/application/application.go
index e055978e0f81b89e7db436ea23d6fed8364b6312..6fb343a6d6de073b1148b4b137a4b72efe187955 100644
--- a/vpython/application/application.go
+++ b/vpython/application/application.go
@@ -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,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698