Merge lp:~thumper/juju-core/fix-duplicate-agent-log-lines into lp:~go-bot/juju-core/trunk
Proposed by
Tim Penhey
Status: | Merged |
---|---|
Approved by: | Ian Booth |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1809 |
Proposed branch: | lp:~thumper/juju-core/fix-duplicate-agent-log-lines |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
51 lines (+4/-5) 2 files modified
environs/cloudinit/cloudinit_test.go (+4/-4) upstart/service.go (+0/-1) |
To merge this branch: | bzr merge lp:~thumper/juju-core/fix-duplicate-agent-log-lines |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+185420@code.launchpad.net |
Commit message
Don't specify the log-file for the machine agent.
Logging now supports multiple locations. We were writing
to both stderr and the logfile, and getting duplicate lines.
Surprisingly, the unit agent didn't specify this.
Description of the change
Don't specify the log-file for the machine agent.
Logging now supports multiple locations. We were writing
to both stderr and the logfile, and getting duplicate lines.
Surprisingly, the unit agent didn't specify this.
To post a comment you must log in.
Reviewers: mp+185420_ code.launchpad. net,
Message:
Please take a look.
Description:
Don't specify the log-file for the machine agent.
Logging now supports multiple locations. We were writing
to both stderr and the logfile, and getting duplicate lines.
Surprisingly, the unit agent didn't specify this.
https:/ /code.launchpad .net/~thumper/ juju-core/ fix-duplicate- agent-log- lines/+ merge/185420
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/13694043/
Affected files (+2, -1 lines):
A [revision details]
M upstart/service.go
Index: [revision details] 20130913044751- ah3cblx7arm3h2t m
=== added file '[revision details]'
--- [revision details] 2012-01-01 00:00:00 +0000
+++ [revision details] 2012-01-01 00:00:00 +0000
@@ -0,0 +1,2 @@
+Old revision: tarmac-
+New revision: <email address hidden>
Index: upstart/service.go service. go' Join(toolsDir, "jujud") + logFile) + dataDir) +
=== modified file 'upstart/
--- upstart/service.go 2013-07-30 22:21:47 +0000
+++ upstart/service.go 2013-09-13 05:20:56 +0000
@@ -53,7 +53,6 @@
},
Cmd: filepath.
" machine" +
- " --log-file " + utils.ShQuote(
" --data-dir " + utils.ShQuote(
" --machine-id " + machineId +
" " + logConfig,