Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

UCP 23 logging not working

Rob3rtoJun 3 2025 — edited Jun 3 2025

Universal Connection Pool logging does not show any record in version 23, even if level is set to ALL. All minor versions were tested.

It works fine with versions 19 and 21.

I created a simple maven project showing the issue. It has profiles to import various ojdbc<jdk>-production:<version> BOM, according to https://www.oracle.com/database/technologies/maven-central-guide.html.

Logging configuration follows this documentation https://docs.oracle.com/en/database/oracle/oracle-database/23/jjucp/logging-and-tracing-in-UCP.html.

To run the test you need to edit connection attributes in java class and run:

mvn -q -B -P <profile_id> test

where profile_id is one of:

  • j8o19: ojdbc8-production:19.27.0.0
  • j8o21: ojdbc8-production:21.18.0.0
  • j8o23: ojdbc8-production:23.8.0.25.04
  • j11o21: ojdbc11-production:21.18.0.0
  • j11o23: ojdbc11-production:23.8.0.25.04
  • j17o23: ojdbc17-production:23.8.0.25.04

ucp-log-test.tar.gz

Comments
Post Details
Added on Jun 3 2025
0 comments
47 views