Add org.hibernate.SQL to the --debug logger levels
I think this fixes gh-446 (it seems unreasonable to want to log the DDL even if it is not being executed)
This commit is contained in:
parent
2da4dc00f0
commit
89197eb03b
|
@ -0,0 +1 @@
|
|||
debug=
|
|
@ -91,6 +91,7 @@ public class LoggingApplicationListener implements SmartApplicationListener {
|
|||
LOG_LEVEL_LOGGERS.add(LogLevel.TRACE, "org.apache.catalina");
|
||||
LOG_LEVEL_LOGGERS.add(LogLevel.TRACE, "org.eclipse.jetty");
|
||||
LOG_LEVEL_LOGGERS.add(LogLevel.TRACE, "org.hibernate.tool.hbm2ddl");
|
||||
LOG_LEVEL_LOGGERS.add(LogLevel.DEBUG, "org.hibernate.SQL");
|
||||
}
|
||||
|
||||
private static Class<?>[] EVENT_TYPES = { ApplicationStartedEvent.class,
|
||||
|
|
Loading…
Reference in New Issue