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

Issue 2987893002: [cipd] Enable specific log level. (Closed)

Created:
3 years, 5 months ago by dnj
Modified:
3 years, 4 months ago
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

[cipd] Enable specific log level. Add a flag to CIPD client subcommand invocations that explicitly sets the logging level. This is more precise than "-verbose", and can be used to suppress INFO-level logs in situations where users don't want to see them. BUG=chromium:748651 TEST=local R=dpranke@chromium.org, vadimsh@chromium.org Review-Url: https://codereview.chromium.org/2987893002 Committed: https://github.com/luci/luci-go/commit/8ccb74d02ea1ac77c1bff3a6230d7e8dd2280817

Patch Set 1 #

Total comments: 2

Patch Set 2 : [cipd] Enable specific log level. #

Patch Set 3 : [cipd] Enable specific log level. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -2 lines) Patch
M cipd/client/cli/main.go View 1 2 1 chunk +12 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
dnj
3 years, 5 months ago (2017-07-26 03:41:42 UTC) #1
Vadim Sh.
https://codereview.chromium.org/2987893002/diff/1/cipd/client/cli/main.go File cipd/client/cli/main.go (right): https://codereview.chromium.org/2987893002/diff/1/cipd/client/cli/main.go#newcode113 cipd/client/cli/main.go:113: c.Flags.BoolVar(&c.verbose, "verbose", false, "Enable debug-level logging.") I think we ...
3 years, 5 months ago (2017-07-26 03:47:44 UTC) #4
dnj
https://codereview.chromium.org/2987893002/diff/1/cipd/client/cli/main.go File cipd/client/cli/main.go (right): https://codereview.chromium.org/2987893002/diff/1/cipd/client/cli/main.go#newcode113 cipd/client/cli/main.go:113: c.Flags.BoolVar(&c.verbose, "verbose", false, "Enable debug-level logging.") On 2017/07/26 03:47:44, ...
3 years, 5 months ago (2017-07-26 05:46:37 UTC) #7
Vadim Sh.
lgtm
3 years, 4 months ago (2017-07-26 17:22:40 UTC) #12
Vadim Sh.
On 2017/07/26 17:22:40, Vadim Sh. wrote: > lgtm Welp, I was wrong: https://cs.chromium.org/chromium/infra/luci/client/cipd.py?type=cs&q=%27cipd%27+lang:py&sq=package:chromium&l=190
3 years, 4 months ago (2017-07-26 17:23:28 UTC) #13
dnj
On 2017/07/26 17:23:28, Vadim Sh. wrote: > On 2017/07/26 17:22:40, Vadim Sh. wrote: > > ...
3 years, 4 months ago (2017-07-26 19:42:37 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2987893002/40001
3 years, 4 months ago (2017-07-26 19:42:50 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://github.com/luci/luci-go/commit/8ccb74d02ea1ac77c1bff3a6230d7e8dd2280817
3 years, 4 months ago (2017-07-26 19:50:08 UTC) #20
Dirk Pranke
3 years, 4 months ago (2017-07-26 22:55:56 UTC) #21
Message was sent while issue was closed.
I'm no go reviewer, but the idea seems fine :).

Powered by Google App Engine
This is Rietveld 408576698