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

Issue 8768045: state: don't log inside dial func

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by fwereade
Modified:
11 years ago
Reviewers:
mp+159405, dimitern, TheMue
Visibility:
Public.

Description

state: don't log inside dial func ...because mgo keeps on trying to dial every address every 30s, and 240 lines/agent/hour is a bit much. https://code.launchpad.net/~fwereade/juju-core/less-state-logging/+merge/159405 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : state: don't log inside dial func #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M state/open.go View 3 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 4
fwereade
Please take a look.
11 years ago (2013-04-17 14:45:47 UTC) #1
dimitern
LGTM indeed! I hate this log :)
11 years ago (2013-04-17 14:56:46 UTC) #2
TheMue
LGTM, really trivial. ;)
11 years ago (2013-04-17 14:56:49 UTC) #3
fwereade
11 years ago (2013-04-17 14:58:10 UTC) #4
*** Submitted:

state: don't log inside dial func

...because mgo keeps on trying to dial every address every 30s, and 240
lines/agent/hour is a bit much.

R=TheMue
CC=
https://codereview.appspot.com/8768045
Sign in to reply to this message.

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