Skip to content

Commit f862821

Browse files
committed
fix: add jdbc log for postgres
1 parent 835743a commit f862821

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connectors/postgres-connector/src/main/java/io/tapdata/connector/postgres/PostgresConnector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ private void initConnection(TapConnectionContext connectionContext) {
402402
slotName = postgresConfig.getCustomSlotName();
403403
}
404404
});
405-
if (true) {
405+
if (postgresConfig.getFileLog()) {
406406
postgresConfig.startJdbcLog(firstConnectorId);
407407
}
408408
postgresTest = new PostgresTest(postgresConfig, testItem -> {

0 commit comments

Comments
 (0)