Skip to content

Commit

Permalink
Hibernate: Silence DB connection info logging
Browse files Browse the repository at this point in the history
Because:

1. We don't implement the retrieval of information in QuarkusConnectionProvider
2. It's currently being logged even at static init when there is no connection

See https://hibernate.atlassian.net/browse/HHH-18454

- Follow up from quarkusio@235f0a7
  • Loading branch information
gastaldi committed Nov 12, 2024
1 parent 10ed7b1 commit ee54a53
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ public class DisableLoggingFeature implements Feature {
"org.hibernate.Version",
"org.hibernate.annotations.common.Version",
"SQL dialect",
"org.hibernate.cfg.Environment"
"org.hibernate.cfg.Environment",
"org.hibernate.orm.connections.pooling"
};

private final Map<String, Level> categoryMap = new HashMap<>(CATEGORIES.length);
Expand Down

0 comments on commit ee54a53

Please sign in to comment.