Skip to content

Commit

Permalink
log more stuff in the reflector
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy D'Entremont committed Jul 22, 2022
1 parent fcca706 commit 3b41a9c
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,14 @@ public void eventReceived(Action action, T resource) {
throw new KubernetesClientException("Unrecognized resource");
}
if (log.isDebugEnabled()) {
log.debug("Event received {} {} resourceVersion {}", action.name(), resource.getKind(), resource.getMetadata().getResourceVersion());
log.debug(
"Event received {} {} {}: resourceVersion {}, resource: {}",
action.name(),
resource.getKind(),
resource.getMetadata().getName(),
resource.getMetadata().getResourceVersion(),
resource
);
}
switch (action) {
case ERROR:
Expand Down

0 comments on commit 3b41a9c

Please sign in to comment.