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

Issue 10410046: rpc/jsoncodec: optional logging

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by rog
Modified:
10 years, 11 months ago
Reviewers:
mp+170258
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. [reproposal of https://codereview.appspot.com/9692044/] https://code.launchpad.net/~rogpeppe/juju-core/313-alt-jsoncodec-optional-log/+merge/170258 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : rpc/jsoncodec: optional logging #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -31 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M rpc/jsoncodec/codec.go View 6 chunks +31 lines, -17 lines 0 comments Download
M rpc/jsoncodec/codec_test.go View 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 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 1
rog
10 years, 11 months ago (2013-06-19 08:11:25 UTC) #1
Please take a look.
Sign in to reply to this message.

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