Skip to content

Commit

Permalink
[Improve] Change catalog table log to debug level (apache#7136)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hisoka-X authored and hawk9821 committed Jul 13, 2024
1 parent 100d302 commit 62dc1a2
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ public static Map<TablePath, JdbcSourceTable> getTables(
.catalogTable(catalogTable)
.build();
tables.put(tablePath, jdbcSourceTable);
log.info("Loaded catalog table : {}, {}", tablePath, jdbcSourceTable);
if (log.isDebugEnabled()) {
log.debug("Loaded catalog table : {}, {}", tablePath, jdbcSourceTable);
}
} catch (SeaTunnelRuntimeException e) {
if (e.getSeaTunnelErrorCode()
.equals(
Expand Down Expand Up @@ -139,7 +141,9 @@ public static Map<TablePath, JdbcSourceTable> getTables(
.build();

tables.put(tablePath, jdbcSourceTable);
log.info("Loaded catalog table : {}, {}", tablePath, jdbcSourceTable);
if (log.isDebugEnabled()) {
log.debug("Loaded catalog table : {}, {}", tablePath, jdbcSourceTable);
}
}
log.info(
"Loaded {} catalog tables for jdbc : {}",
Expand Down

0 comments on commit 62dc1a2

Please sign in to comment.