Skip to content

Commit 2e56184

Browse files
authored
feat(bqjdbc): Integrate the PerConnectionFileHandler with BigQueryJdbcRootLogger (#12933)
- **BigQueryConnection.java:** - Integrated the MdcCloseable pattern with try-with-resources across all methods requiring MDC context.[b/501081433] - Extracted rollbackImpl() and closeImpl() to separate business logic from logging setup. - Added connectionId generation in the constructor.[b/501081158] - **BigQueryStatement.java:** - Refactored public JDBC execution methods to use MdcCloseable and extracted Impl methods (like executeQueryImpl).[b/501081433] - **BigQueryJdbcMdc.java:** - Added the MdcCloseable interface to support the try-with-resources pattern. - Update the Log Record format to inject the Connection-ID tag.[b/501081558] - **BigQueryJdbcRootLogger.java:** - Integrated PerConnectionFileHandler for log isolation.[b/501081671]
1 parent 93f21ed commit 2e56184

6 files changed

Lines changed: 431 additions & 333 deletions

File tree

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
drivers/**
22
target-it/**
3-
*logs*/**
3+
*logs*/**
4+
**/ITBigQueryJDBCLocalTest.java

0 commit comments

Comments
 (0)