Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(200)

Issue 13642045: Always show cmd errors/warnings (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by wallyworld
Modified:
10 years, 7 months ago
Reviewers:
mp+186738, gz
Visibility:
Public.

Description

Always show cmd errors/warnings Unless show-log was true, errors and warnings from running commands were not shown. This branch adds a log writer if show-log is false; the writer strips off time and date etc and just writes the core error and warning details to stderr. https://code.launchpad.net/~wallyworld/juju-core/default-logging/+merge/186738 (do not edit description out of merge proposal)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -12 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/main_test.go View 5 chunks +7 lines, -6 lines 0 comments Download
M cmd/juju/plugin_test.go View 1 chunk +1 line, -1 line 0 comments Download
M cmd/logging.go View 2 chunks +15 lines, -0 lines 0 comments Download
M cmd/logging_test.go View 1 chunk +13 lines, -0 lines 0 comments Download
M cmd/supercommand.go View 1 chunk +3 lines, -1 line 0 comments Download
M cmd/supercommand_test.go View 4 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 2
wallyworld
Please take a look.
10 years, 7 months ago (2013-09-20 10:03:14 UTC) #1
gz
10 years, 7 months ago (2013-09-20 10:10:20 UTC) #2
LGTM, well, this looks pretty much how you'd expect.

Was going to say add a colon to the stderr after level, but actually think I
prefer it without.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b