cadonna commented on code in PR #19185: URL: https://github.com/apache/kafka/pull/19185#discussion_r1989312994
########## streams/src/main/java/org/apache/kafka/streams/processor/internals/TaskManager.java: ########## @@ -1473,13 +1475,15 @@ private void closeTaskDirty(final Task task, final boolean removeFromTasksRegist // before suspending and closing the topology task.prepareCommit(); } catch (final RuntimeException swallow) { - log.error("Error flushing caches of dirty task {}", task.id(), swallow); + log.warn("Error flushing cache of dirty task {}. " + + "Since the task is closing dirty, the following exception is swallowed: ", task.id(), swallow); } try { task.suspend(); } catch (final RuntimeException swallow) { - log.error("Error suspending dirty task {}: {}", task.id(), swallow.getMessage()); + log.warn("Error suspending dirty task {}. " + + "Since the task is closing dirty, the following exception is swallowed: ", task.id(), swallow); Review Comment: OK, I replaced the stacktraces with the exception messages. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org