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

Issue 9692044: rpc/jsoncodec: optional logging

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 12 months ago by rog
Modified:
10 years, 11 months ago
Reviewers:
mp+165736, fwereade, wallyworld
Visibility:
Public.

Description

rpc/jsoncodec: optional logging Because we're now using the same codec on both client and server, we were seeing each message logged twice when testing. This changes things so we only log on the server side. https://code.launchpad.net/~rogpeppe/juju-core/313-jsoncodec-optional-log/+merge/165736 Requires: https://code.launchpad.net/~rogpeppe/juju-core/312-api-jobs/+merge/165705 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : rpc/jsoncodec: optional logging #

Patch Set 3 : rpc/jsoncodec: optional logging #

Patch Set 4 : rpc/jsoncodec: optional logging #

Total comments: 2

Patch Set 5 : rpc/jsoncodec: optional logging #

Patch Set 6 : rpc/jsoncodec: optional logging #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -31 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M rpc/jsoncodec/codec.go View 1 2 3 4 6 chunks +31 lines, -17 lines 0 comments Download
M rpc/jsoncodec/codec_test.go View 1 2 3 4 5 chunks +104 lines, -10 lines 0 comments Download
M rpc/jsoncodec/conn.go View 2 chunks +2 lines, -3 lines 0 comments Download
M state/apiserver/apiserver.go View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 7
rog
Please take a look.
10 years, 12 months ago (2013-05-25 08:12:42 UTC) #1
rog
Please take a look.
10 years, 12 months ago (2013-05-25 13:34:39 UTC) #2
fwereade
NOT LGTM I'm afraid. https://codereview.appspot.com/9692044/diff/5002/rpc/jsoncodec/codec.go File rpc/jsoncodec/codec.go (right): https://codereview.appspot.com/9692044/diff/5002/rpc/jsoncodec/codec.go#newcode44 rpc/jsoncodec/codec.go:44: // called before the codec ...
10 years, 12 months ago (2013-05-27 20:29:44 UTC) #3
rog
Please take a look. https://codereview.appspot.com/9692044/diff/5002/rpc/jsoncodec/codec.go File rpc/jsoncodec/codec.go (right): https://codereview.appspot.com/9692044/diff/5002/rpc/jsoncodec/codec.go#newcode44 rpc/jsoncodec/codec.go:44: // called before the codec ...
10 years, 11 months ago (2013-06-07 17:46:39 UTC) #4
fwereade
LGTM, thanks.
10 years, 11 months ago (2013-06-07 22:52:30 UTC) #5
wallyworld
LGTM
10 years, 11 months ago (2013-06-21 01:28:02 UTC) #6
rog
10 years, 11 months ago (2013-06-25 06:00:11 UTC) #7
On 2013/06/21 01:28:02, wallyworld wrote:
> LGTM

merged as https://codereview.appspot.com/10410046/
Sign in to reply to this message.

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