fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vorbur...@apache.org
Subject [fineract] 01/02: comment out broken MySQL JDBC driver logger (awaiting FINERACT-890)
Date Fri, 17 Apr 2020 23:47:12 GMT
This is an automated email from the ASF dual-hosted git repository.

vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git

commit 64e02bc123c22f1352e135af169c76d7e864fa7c
Author: Michael Vorburger <mike@vorburger.ch>
AuthorDate: Mon Apr 13 18:46:03 2020 +0200

    comment out broken MySQL JDBC driver logger (awaiting FINERACT-890)
---
 .../core/service/TomcatJdbcDataSourcePerTenantService.java              | 2 +-
 .../src/main/resources/META-INF/spring/hikariDataSource.xml             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/service/TomcatJdbcDataSourcePerTenantService.java
b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/service/TomcatJdbcDataSourcePerTenantService.java
index 71be36e..3b6fb7d 100644
--- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/service/TomcatJdbcDataSourcePerTenantService.java
+++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/service/TomcatJdbcDataSourcePerTenantService.java
@@ -109,7 +109,7 @@ public class TomcatJdbcDataSourcePerTenantService implements RoutingDataSourceSe
         config.addDataSourceProperty("maintainTimeStats", "false");
 
         // https://github.com/brettwooldridge/HikariCP/wiki/JDBC-Logging#mysql-connectorj
-        config.addDataSourceProperty("logger", "com.mysql.jdbc.log.StandardLogger");
+        // TODO FINERACT-890: config.addDataSourceProperty("logger", "com.mysql.cj.log.Slf4JLogger");
         config.addDataSourceProperty("logSlowQueries", "true");
         config.addDataSourceProperty("dumpQueriesOnException", "true");
 
diff --git a/fineract-provider/src/main/resources/META-INF/spring/hikariDataSource.xml b/fineract-provider/src/main/resources/META-INF/spring/hikariDataSource.xml
index 1ba0ba0..f28a8de 100644
--- a/fineract-provider/src/main/resources/META-INF/spring/hikariDataSource.xml
+++ b/fineract-provider/src/main/resources/META-INF/spring/hikariDataSource.xml
@@ -60,7 +60,7 @@
                 <prop key="maintainTimeStats">false</prop>
 
                 <!-- https://github.com/brettwooldridge/HikariCP/wiki/JDBC-Logging#mysql-connectorj
-->
-                <prop key="logger">com.mysql.jdbc.log.StandardLogger</prop>
+                <!-- TODO FINERACT-890: <prop key="logger">com.mysql.cj.log.Slf4JLogger</prop>
 -->
                 <prop key="logSlowQueries">true</prop>
                 <prop key="dumpQueriesOnException">true</prop>
             </props>


Mime
View raw message