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

Issue 6774050: worker/uniter: make logger predictable

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by rog
Modified:
11 years, 6 months ago
Reviewers:
mp+131580
Visibility:
Public.

Description

worker/uniter: make logger predictable The stdout pipe is closed too early by os/exec; do the work ourselves to prevent this. https://code.launchpad.net/~rogpeppe/juju-core/136-uniter-fix-logger/+merge/131580 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : worker/uniter: make logger predictable #

Patch Set 3 : worker/uniter: make logger predictable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -4 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M worker/uniter/context.go View 1 chunk +9 lines, -4 lines 0 comments Download

Messages

Total messages: 6
dave_cheney.net
I think this is part of the solution that logger.stop() should become logger.wait(), because the ...
11 years, 6 months ago (2012-10-26 10:57:11 UTC) #1
dave_cheney.net
Ignore previous comment, SGTM, lets try it.
11 years, 6 months ago (2012-10-26 13:05:34 UTC) #2
rog
Please take a look.
11 years, 6 months ago (2012-10-29 17:23:50 UTC) #3
dave_cheney.net
Fixes issue https://bugs.launchpad.net/juju-core/+bug/1071320 On Tue, Oct 30, 2012 at 4:23 AM, <rogpeppe@gmail.com> wrote: > Reviewers: ...
11 years, 6 months ago (2012-10-29 17:24:26 UTC) #4
niemeyer
LGTM
11 years, 6 months ago (2012-10-30 08:32:33 UTC) #5
rog
11 years, 6 months ago (2012-10-30 09:03:56 UTC) #6
*** Submitted:

worker/uniter: make logger predictable

The stdout pipe is closed too early by os/exec;
do the work ourselves to prevent this.

R=dfc, niemeyer
CC=
https://codereview.appspot.com/6774050
Sign in to reply to this message.

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