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

Commit e355ca8

Browse files
Reduce info logs (#1087)
1 parent f9664ab commit e355ca8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

styx-scheduler-service/src/main/java/com/spotify/styx/docker/KubernetesDockerRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ private void logEvent(Watcher.Action action, Pod pod, String resourceVersion,
684684
.orElse("N/A");
685685
final String status = readStatus(pod);
686686

687-
LOG.info("{}Pod event for {} ({}) at resource version {}, action: {}, workflow instance: {}, status: {}",
687+
LOG.debug("{}Pod event for {} ({}) at resource version {}, action: {}, workflow instance: {}, status: {}",
688688
polled ? "Polled: " : "", podName, pod.getMetadata().getUid(), resourceVersion, action, workflowInstance,
689689
status);
690690
}

styx-scheduler-service/src/main/java/com/spotify/styx/state/PersistentStateManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ private void tickInstance(WorkflowInstance instance) {
137137
}
138138

139139
private void tickInstance(RunState state) {
140-
log.info("Ticking instance: {}: #{} {}", state.workflowInstance(), state.counter(), state.state());
140+
log.debug("Ticking instance: {}: #{} {}", state.workflowInstance(), state.counter(), state.state());
141141
try {
142142
outputHandler.transitionInto(state, this);
143143
} catch (StateTransitionConflictException e) {

styx-service-common/src/main/java/com/spotify/styx/util/ShardedCounter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ void updateCounterShard(StorageTransaction transaction, String counterId, long d
292292
throw new CounterCapacityException(message);
293293
}
294294
final String operation = delta > 0 ? "increment" : "decrement";
295-
LOG.info("Updating counter shard ({}): {}-{}: capacity={}, value={}, delta={}, newValue={}",
295+
LOG.debug("Updating counter shard ({}): {}-{}: capacity={}, value={}, delta={}, newValue={}",
296296
operation, counterId, shardIndex, shardCapacity, shard.get().value(), delta, newShardValue);
297297
} else {
298298
final String message =

0 commit comments

Comments
 (0)