我遇到Postgres驱动程序的问题,它是9.1-901.jdbc4,而我的数据库服务器是Postgres 10。我在批量更新时遇到问题,所以我尝试将驱动程序更改为版本42.2.5。以下是依赖关系:
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.5</version>
</dependency>
它现在工作得很好,但我得到了无限的日志,并且我的代码中也有Schedulars:
2019-06-04 06:48:33,358 FINE org.postgresql.jdbc.PgConnection setAutoCommit = false 2019-06-04 06:48:33,359 FINE org.postgresql.jdbc.PgConnection setAutoCommit = true
如何禁用这些日志。我使用Wildfly 10作为应用程序服务器。
https://stackoverflow.com/questions/56438031
复制相似问题