Skip to content

Commit 935e645

Browse files
committed
Reduce some overly verbose log lines to debug
1 parent c3e391a commit 935e645

8 files changed

Lines changed: 10 additions & 10 deletions

File tree

temporal-sdk/src/main/java/io/temporal/internal/worker/AsyncPoller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ public void run() {
305305
if (shouldTerminate()) {
306306
pollerBalancer.removePoller(asyncTaskPoller.getLabel());
307307
abort = true;
308-
log.info(
308+
log.debug(
309309
"Poll loop is terminated: {} - {}",
310310
AsyncPoller.this.getClass().getSimpleName(),
311311
asyncTaskPoller.getLabel());

temporal-sdk/src/main/java/io/temporal/internal/worker/BasePoller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public boolean isTerminated() {
5252

5353
@Override
5454
public CompletableFuture<Void> shutdown(ShutdownManager shutdownManager, boolean interruptTasks) {
55-
log.info("shutdown: {}", this);
55+
log.debug("shutdown: {}", this);
5656
WorkerLifecycleState lifecycleState = getLifecycleState();
5757
switch (lifecycleState) {
5858
case NOT_STARTED:

temporal-sdk/src/main/java/io/temporal/internal/worker/MultiThreadedPoller.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public void run() {
193193
// Resubmit itself back to pollExecutor
194194
pollExecutor.execute(this);
195195
} else {
196-
log.info(
196+
log.debug(
197197
"poll loop is terminated: {}",
198198
MultiThreadedPoller.this.pollTask.getClass().getSimpleName());
199199
}

temporal-sdk/src/main/java/io/temporal/worker/WorkerFactory.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ public WorkflowClient getWorkflowClient() {
391391
* Invocation has no additional effect if already shut down.
392392
*/
393393
public synchronized void shutdown() {
394-
log.info("shutdown: {}", this);
394+
log.debug("shutdown: {}", this);
395395
shutdownInternal(false);
396396
}
397397

@@ -497,7 +497,7 @@ private void doShutdown(boolean interruptUserTasks) {
497497
* occurs.
498498
*/
499499
public void awaitTermination(long timeout, TimeUnit unit) {
500-
log.info("awaitTermination begin: {}", this);
500+
log.debug("awaitTermination begin: {}", this);
501501
long timeoutMillis = unit.toMillis(timeout);
502502
for (Worker worker : workers.values()) {
503503
long t = timeoutMillis; // closure needs immutable value
@@ -510,7 +510,7 @@ public void awaitTermination(long timeout, TimeUnit unit) {
510510
ShutdownManager.runAndGetRemainingTimeoutMs(
511511
t, () -> workerCommandWorker.awaitTermination(t, TimeUnit.MILLISECONDS));
512512
}
513-
log.info("awaitTermination done: {}", this);
513+
log.debug("awaitTermination done: {}", this);
514514
}
515515

516516
// TODO we should hide an actual implementation of WorkerFactory under WorkerFactory interface and

temporal-serviceclient/src/main/java/io/temporal/serviceclient/CloudServiceStubsImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ final class CloudServiceStubsImpl implements CloudServiceStubs {
3939
.setInternalErrorDifferentiation(true)
4040
.build());
4141

42-
log.info("Created CloudServiceStubs for channel: {}", channelManager.getRawChannel());
42+
log.debug("Created CloudServiceStubs for channel: {}", channelManager.getRawChannel());
4343

4444
this.blockingStub = CloudServiceGrpc.newBlockingStub(channelManager.getInterceptedChannel());
4545
this.futureStub = CloudServiceGrpc.newFutureStub(channelManager.getInterceptedChannel());

temporal-serviceclient/src/main/java/io/temporal/serviceclient/OperatorServiceStubsImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ final class OperatorServiceStubsImpl implements OperatorServiceStubs {
3232
this.channelManager =
3333
new ChannelManager(options, Collections.singletonList(deadlineInterceptor));
3434

35-
log.info("Created OperatorServiceStubs for channel: {}", channelManager.getRawChannel());
35+
log.debug("Created OperatorServiceStubs for channel: {}", channelManager.getRawChannel());
3636

3737
this.blockingStub = OperatorServiceGrpc.newBlockingStub(channelManager.getInterceptedChannel());
3838
this.futureStub = OperatorServiceGrpc.newFutureStub(channelManager.getInterceptedChannel());

temporal-serviceclient/src/main/java/io/temporal/serviceclient/WorkflowServiceStubsImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ final class WorkflowServiceStubsImpl implements WorkflowServiceStubs {
6363
this.channelManager =
6464
new ChannelManager(this.options, Collections.singletonList(deadlineInterceptor));
6565

66-
log.info(
66+
log.debug(
6767
String.format(
6868
"Created WorkflowServiceStubs for channel: %s", channelManager.getRawChannel()));
6969

temporal-test-server/src/main/java/io/temporal/serviceclient/TestServiceStubsImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class TestServiceStubsImpl implements TestServiceStubs {
3232
this.channelManager =
3333
new ChannelManager(options, Collections.singletonList(deadlineInterceptor));
3434

35-
log.info("Created TestServiceStubs for channel: {}", channelManager.getRawChannel());
35+
log.debug("Created TestServiceStubs for channel: {}", channelManager.getRawChannel());
3636

3737
this.blockingStub = TestServiceGrpc.newBlockingStub(channelManager.getInterceptedChannel());
3838
this.futureStub = TestServiceGrpc.newFutureStub(channelManager.getInterceptedChannel());

0 commit comments

Comments
 (0)