Skip to content

Commit

Permalink
Fix space in logs (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
timja authored and jetersen committed Sep 8, 2019
1 parent 2d2f06e commit fa5e40b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public boolean isSecret(@CheckForNull Owner target) {
}

public void setValue(Owner target, Type value) throws Exception {
LOGGER.log(Level.FINE, "Setting {0}. {1} = {2}",
LOGGER.log(Level.FINE, "Setting {0}.{1} = {2}",
new Object[] {target, name, (isSecret(target) ? "****" : value)});
setter.setValue(target, value);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ private T tryConstructor(Constructor<T> constructor, Mapping config, Configurati
args[i] = configurator.configure(value, context);
}
if (LOGGER.isLoggable(Level.FINE)) {
LOGGER.log(Level.FINE, "Setting {0}. {1} = {2}",
LOGGER.log(Level.FINE, "Setting {0}.{1} = {2}",
new Object[]{target, names[i], t == Secret.class || Attribute.calculateIfSecret(target, names[i]) ? "****" : value});
}
} else if (t.isPrimitive()) {
Expand Down

0 comments on commit fa5e40b

Please sign in to comment.