Merge lp:~thumper/juju-core/logging-in-environment into lp:~go-bot/juju-core/trunk
Status: | Merged |
---|---|
Approved by: | Tim Penhey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 1803 |
Proposed branch: | lp:~thumper/juju-core/logging-in-environment |
Merge into: | lp:~go-bot/juju-core/trunk |
Diff against target: |
383 lines (+134/-42) 6 files modified
cmd/logging.go (+4/-1) cmd/logging_test.go (+47/-25) environs/config/config.go (+25/-0) environs/config/config_test.go (+38/-3) juju/osenv/vars.go (+4/-3) testing/environ.go (+16/-10) |
To merge this branch: | bzr merge lp:~thumper/juju-core/logging-in-environment |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+185392@code.launchpad.net |
Commit message
Store logging config in the environ config.
There are two main changes here. Firstly is an environment variable for the
logging config. This provides a source for the default logging config should
none be explicity set. This is handled in two places: the Log command helper;
and the new config settings.
The second is to store the logging config in the environment config. This is
used in upcoming changes to configure the agents.
Description of the change
Store logging config in the environ config.
There are two main changes here. Firstly is an environment variable for the
logging config. This provides a source for the default logging config should
none be explicity set. This is handled in two places: the Log command helper;
and the new config settings.
The second is to store the logging config in the environment config. This is
used in upcoming changes to configure the agents.
Reviewers: mp+185392_ code.launchpad. net,
Message:
Please take a look.
Description:
Store logging config in the environ config.
There are two main changes here. Firstly is an environment variable for
the
logging config. This provides a source for the default logging config
should
none be explicity set. This is handled in two places: the Log command
helper;
and the new config settings.
The second is to store the logging config in the environment config.
This is
used in upcoming changes to configure the agents.
https:/ /code.launchpad .net/~thumper/ juju-core/ logging- in-environment/ +merge/ 185392
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/13269052/
Affected files (+135, -42 lines): config/ config. go config/ config_ test.go
A [revision details]
M cmd/logging.go
M cmd/logging_test.go
M environs/
M environs/
M juju/osenv/vars.go
M testing/environ.go