DBZ-7693 Reduce logging back to normal
This commit is contained in:
parent
3527fdd320
commit
baf7f93d5a
@ -128,12 +128,10 @@ protected Set<TableId> getAllTableIds(RelationalSnapshotContext<P, O> ctx) throw
|
||||
try {
|
||||
// MySQL sometimes considers some local files as databases (see DBZ-164),
|
||||
// so we will simply try each one and ignore the problematic ones ...
|
||||
LOGGER.info("Showing tables in database {}", quote(dbName));
|
||||
connection.query("SHOW FULL TABLES IN " + quote(dbName) + " where Table_Type = 'BASE TABLE'", rs -> {
|
||||
while (rs.next()) {
|
||||
TableId id = new TableId(dbName, null, rs.getString(1));
|
||||
tableIds.add(id);
|
||||
LOGGER.info("\tFound {}", id);
|
||||
}
|
||||
});
|
||||
readableDatabaseNames.add(dbName);
|
||||
|
Loading…
Reference in New Issue
Block a user