mirror of https://github.com/apache/nifi.git
NIFI-7262 Added debug logging for the generated query in PutCassandraRecord. (#5898)
Signed-off-by: Otto Fowler <otto@apache.org>
This commit is contained in:
parent
a75381abbe
commit
2ac90a6441
|
@ -290,6 +290,11 @@ public class PutCassandraRecord extends AbstractCassandraProcessor {
|
|||
} else {
|
||||
throw new IllegalArgumentException(format("Statement Type %s is not valid, FlowFile %s", statementType, inputFlowFile));
|
||||
}
|
||||
|
||||
if (getLogger().isDebugEnabled()) {
|
||||
getLogger().debug("Query: {}", query.toString());
|
||||
}
|
||||
|
||||
batchStatement.add(query);
|
||||
|
||||
if (recordsAdded.incrementAndGet() == batchSize) {
|
||||
|
|
Loading…
Reference in New Issue