Merge pull request #16678 from maciejwalkowiak

* pr/16678:
  Polish "Add jOOQ to SQL logging group"
  Add jOOQ to SQL logging group
This commit is contained in:
Stephane Nicoll
2019-04-30 08:58:48 +02:00
2 changed files with 2 additions and 1 deletions

View File

@@ -1934,7 +1934,7 @@ out-of-the-box:
|`org.springframework.core.codec`, `org.springframework.http`, `org.springframework.web`
|sql
|`org.springframework.jdbc.core`, `org.hibernate.SQL`
|`org.springframework.jdbc.core`, `org.hibernate.SQL`, `org.jooq.tools.LoggerListener`
|===

View File

@@ -135,6 +135,7 @@ public class LoggingApplicationListener implements GenericApplicationListener {
"org.springframework.boot.web.servlet.ServletContextInitializerBeans");
loggers.add("sql", "org.springframework.jdbc.core");
loggers.add("sql", "org.hibernate.SQL");
loggers.add("sql", "org.jooq.tools.LoggerListener");
DEFAULT_GROUP_LOGGERS = Collections.unmodifiableMap(loggers);
}