DBZ-3153 Capture LogMiner parameters when LogMiner session fails to start

This commit is contained in:
Chris Cranford 2021-02-19 11:17:37 -05:00 committed by Gunnar Morling
parent 88b2f73842
commit aa584c08cd

View File

@ -660,6 +660,13 @@ private static void logDatabaseState(OracleConnection connection) {
catch (SQLException e) {
LOGGER.debug("Failed to obtain registered logs with LogMiner", e);
}
LOGGER.debug("Log mining session parameters are:");
try {
logQueryResults(connection, "SELECT * FROM V$LOGMNR_PARAMETERS");
}
catch (SQLException e) {
LOGGER.debug("Failed to obtain log mining session parameters", e);
}
}
}