added sql logging
This commit is contained in:
parent
e9a1670133
commit
478c439300
|
@ -12,3 +12,9 @@ demo.resourceCount=10
|
|||
spring.datasource.url=jdbc:mysql://192.168.0.131:3306/testdb?useSSL=false&serverTimezone=UTC
|
||||
spring.datasource.username=testdb
|
||||
spring.datasource.password=testdb
|
||||
|
||||
#this line shows the sql statement in the logs
|
||||
logging.level.org.hibernate.SQL=debug
|
||||
|
||||
#this line shows sql values in the logs
|
||||
logging.level.org.hibernate.type.descriptor.sql=trace
|
Loading…
Reference in New Issue