-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Hi,
Due to ?loggerLevel=OFF at the end of the constructed URL on PostgresSQL module, is not possible to pass arguments to the underlying driver, causing the connection to hang.
Line 62 in 2e9adb9
| return "jdbc:postgresql://" + getContainerIpAddress() + ":" + getMappedPort(POSTGRESQL_PORT) + "/" + databaseName + "?loggerLevel=OFF"; |
When the URL is being constructed on the bellow line, the queryString already has a ? with the query arguments.
Line 189 in 2e9adb9
| final String url = constructUrlForConnection(queryString); |
Example: jdbc:postgresql://localhost:5432/my_database??loggerLevel=OFF?currentSchema=my_schema.
Removing ?loggerLevel=OFF doesn't seem to have any effect on the logs. If you agree, I'm happy to create a PR and remove the loggerLevel from the URL.
Thanks in advance,
Bruno