Skip to content

Commit

Permalink
Merge pull request #16 from benjchristensen/HystrixPropertiesChainedA…
Browse files Browse the repository at this point in the history
…rchaiusProperty

Change logger from info to debug for property changes
  • Loading branch information
benjchristensen committed Nov 27, 2012
2 parents dd4b57a + bd92384 commit d904cfb
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ protected void checkAndFlip() {
}

if (this.isValueAcceptable()) {
logger.info("Flipping property: " + getName() + " to use it's current value:" + getValue());
logger.debug("Flipping property: " + getName() + " to use it's current value:" + getValue());
pReference.set(this);
} else {
logger.info("Flipping property: " + getName() + " to use NEXT property: " + next);
logger.debug("Flipping property: " + getName() + " to use NEXT property: " + next);
pReference.set(next);
}

Expand Down Expand Up @@ -161,7 +161,7 @@ public StringProperty(DynamicStringProperty sProperty, StringProperty next) {
sProp.addCallback(new Runnable() {
@Override
public void run() {
logger.info("Property changed: '" + getName() + " = " + getValue() + "'");
logger.debug("Property changed: '" + getName() + " = " + getValue() + "'");
checkAndFlip();
}
});
Expand Down Expand Up @@ -215,7 +215,7 @@ public IntegerProperty(DynamicIntegerProperty sProperty, IntegerProperty next) {
sProp.addCallback(new Runnable() {
@Override
public void run() {
logger.info("Property changed: '" + getName() + " = " + getValue() + "'");
logger.debug("Property changed: '" + getName() + " = " + getValue() + "'");
checkAndFlip();
}
});
Expand Down Expand Up @@ -269,7 +269,7 @@ public BooleanProperty(DynamicBooleanProperty sProperty, BooleanProperty next) {
sProp.addCallback(new Runnable() {
@Override
public void run() {
logger.info("Property changed: '" + getName() + " = " + getValue() + "'");
logger.debug("Property changed: '" + getName() + " = " + getValue() + "'");
checkAndFlip();
}
});
Expand Down

0 comments on commit d904cfb

Please sign in to comment.