-
- Downloads
Enable debugUnreturnedConnectionStackTraces in...
Enable debugUnreturnedConnectionStackTraces in data-warehouse-connection-pool-properties (#49456) (#49807) * Add blurb from C3P0 docs to comment for unreturnedConnectionTimeout * Enable debugUnreturnedConnectionStackTraces in data-warehouse-connection-pool-properties Closes #47981 * Add defsetting for jdbc-data-warehouse-debug-unreturned-connection-stack-traces And only enable debugUnreturnedConnectionStackTraces in the C3P0 config if the setting is enabled. There is some memory cost to enabling the setting, and since maxPoolSize is user-configurable, it seems safer to disable debugUnreturnedConnectionStackTraces by default. * Add metabase.logger/level-enabled? * Log a warning if C3P0 logs are not configured correctly to log stack traces Log a warning if the user enables the jdbc-data-warehouse-debug-unreturned-connection-stack-traces but does not raise the log level for the com.mchange package to INFO or higher. * Add docs for MB_JDBC_DATA_WAREHOUSE_DEBUG_UNRETURNED_CONNECTION_STACK_TRACES * Improve markdown docs for MB_JDBC_DATA_WAREHOUSE_DEBUG_UNRETURNED_CONNECTION_STACK_TRACES --------- Co-authored-by:appleby <86076+appleby@users.noreply.github.com> Co-authored-by:
Jeff Bruemmer <jeff.bruemmer@gmail.com>
Showing
- docs/configuring-metabase/environment-variables.md 14 additions, 0 deletionsdocs/configuring-metabase/environment-variables.md
- src/metabase/cmd/resources/other-env-vars.md 12 additions, 0 deletionssrc/metabase/cmd/resources/other-env-vars.md
- src/metabase/driver/sql_jdbc/connection.clj 45 additions, 4 deletionssrc/metabase/driver/sql_jdbc/connection.clj
- src/metabase/logger.clj 8 additions, 0 deletionssrc/metabase/logger.clj
- test/metabase/driver/sql_jdbc/connection_test.clj 36 additions, 0 deletionstest/metabase/driver/sql_jdbc/connection_test.clj
- test/metabase/logger_test.clj 35 additions, 0 deletionstest/metabase/logger_test.clj
Please register or sign in to comment