Skip to content

Commit adb4717

Browse files
committed
feat: adjusted log levels for polling log messages
Signed-off-by: Jonathan Hughes <jonathan.hughes@ibm.com>
1 parent e4f2212 commit adb4717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/ibm/eventstreams/connect/mqsource/MQSourceTask.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public List<SourceRecord> poll() throws InterruptedException {
119119

120120
try {
121121
if (!stopNow.get()) {
122-
log.info("Polling for records");
122+
log.debug("Polling for records");
123123
SourceRecord src;
124124
do {
125125
// For the first message in the batch, wait a while if no message
@@ -130,7 +130,7 @@ public List<SourceRecord> poll() throws InterruptedException {
130130
}
131131
} while (src != null && messageCount < batchSize && !stopNow.get());
132132
} else {
133-
log.info("Stopping polling for records");
133+
log.debug("Stopping polling for records");
134134
}
135135
} finally {
136136
}

0 commit comments

Comments
 (0)