Improve logging.
This commit is contained in:
parent
d8509f5c1f
commit
574be078ef
2 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ public class AuthenticationMdcFilter extends AbstractMdcFilter {
|
||||||
this.name = name.orElse(DEFAULT_NAME);
|
this.name = name.orElse(DEFAULT_NAME);
|
||||||
this.attributes = attributes.orElseGet(Set::of);
|
this.attributes = attributes.orElseGet(Set::of);
|
||||||
if (name.isPresent() || !this.attributes.isEmpty()) {
|
if (name.isPresent() || !this.attributes.isEmpty()) {
|
||||||
log.info("Configured with name {} and attributes {}", name, attributes);
|
log.info("Configured with name {} and attributes {}", this.name, this.attributes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue