Skip to content

Commit

Permalink
[#15250] LoggerListener logs some batch queries twice, when
Browse files Browse the repository at this point in the history
using BatchMultiple
  • Loading branch information
lukaseder committed Jun 21, 2023
1 parent 238dc69 commit 66611ec
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions jOOQ/src/main/java/org/jooq/tools/LoggerListener.java
Expand Up @@ -111,14 +111,6 @@ else if (ctx.routine() != null) {
log.debug("-> with bind values", newline + inlined);
}

// [#2532] Log a complete BatchMultiple query
else if (ctx.type() == ExecuteType.BATCH
&& batchSQL.length > 0
&& batchSQL[batchSQL.length - 1] != null) {
for (String sql : batchSQL)
log.debug("Executing batch query", newline + sql);
}

else if (!StringUtils.isBlank(ctx.sql())) {

// [#1529] Batch queries should be logged specially
Expand Down

0 comments on commit 66611ec

Please sign in to comment.