set rpc logging to TRACE and agents back to DEBUG by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Ian Booth |
Bug Description
This ticket is a reminder to Thumper, see IRC fragment
> 12:46 < thumper> davecheney: alternatively, we set the rpc spam to TRACE
> 12:47 < thumper> so DEBUG just works
> 12:47 < davecheney> sure
> 12:47 < davecheney> i don't care about the specificas
> 12:47 < davecheney> everyone hates the rpc spam
> 12:47 < davecheney> all i know is I have an environment that is broken
> 12:47 < davecheney> and i cannot debug it beucase the logging that i
> needed was discarded
> 12:48 < davecheney> all the agents are idle
> 12:48 < davecheney> but i have no logs to debug the problem
> 12:48 < thumper> davecheney: I'll submit a fix tomorrow
> 12:48 * davecheney destroys environment and trys again
I think what we agreed on was putting the agents' root logger back to DEBUG, and moving the RPC logging to TRACE
Related branches
- Juju Engineering: Pending requested
-
Diff: 63 lines (+6/-11)2 files modifiedcmd/logging.go (+4/-9)
cmd/logging_test.go (+2/-2)
- Dave Cheney (community): Approve (lgtm, you bloody ripper)
-
Diff: 72 lines (+29/-1)2 files modifiedenvirons/config/config.go (+9/-1)
environs/config/config_test.go (+20/-0)
- Juju Engineering: Pending requested
-
Diff: 72 lines (+29/-1)2 files modifiedenvirons/config/config.go (+9/-1)
environs/config/config_test.go (+20/-0)
Changed in juju-core: | |
assignee: | Tim Penhey (thumper) → nobody |
Changed in juju-core: | |
assignee: | nobody → Dave Cheney (dave-cheney) |
milestone: | 1.16.0 → 2.0 |
status: | Triaged → In Progress |
assignee: | Dave Cheney (dave-cheney) → nobody |
milestone: | 2.0 → 1.16.0 |
Changed in juju-core: | |
assignee: | nobody → Ian Booth (wallyworld) |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
The fix sets <root>DEBUG. rpc will be debug then also, not trace. This can be changed if required.