Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
Reduce info logs (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgomezfrr authored Jun 27, 2023
1 parent f9664ab commit e355ca8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ private void logEvent(Watcher.Action action, Pod pod, String resourceVersion,
.orElse("N/A");
final String status = readStatus(pod);

LOG.info("{}Pod event for {} ({}) at resource version {}, action: {}, workflow instance: {}, status: {}",
LOG.debug("{}Pod event for {} ({}) at resource version {}, action: {}, workflow instance: {}, status: {}",
polled ? "Polled: " : "", podName, pod.getMetadata().getUid(), resourceVersion, action, workflowInstance,
status);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ private void tickInstance(WorkflowInstance instance) {
}

private void tickInstance(RunState state) {
log.info("Ticking instance: {}: #{} {}", state.workflowInstance(), state.counter(), state.state());
log.debug("Ticking instance: {}: #{} {}", state.workflowInstance(), state.counter(), state.state());
try {
outputHandler.transitionInto(state, this);
} catch (StateTransitionConflictException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ void updateCounterShard(StorageTransaction transaction, String counterId, long d
throw new CounterCapacityException(message);
}
final String operation = delta > 0 ? "increment" : "decrement";
LOG.info("Updating counter shard ({}): {}-{}: capacity={}, value={}, delta={}, newValue={}",
LOG.debug("Updating counter shard ({}): {}-{}: capacity={}, value={}, delta={}, newValue={}",
operation, counterId, shardIndex, shardCapacity, shard.get().value(), delta, newShardValue);
} else {
final String message =
Expand Down

0 comments on commit e355ca8

Please sign in to comment.