Skip to content

Conversation

@rfscholte
Copy link
Owner

@rfscholte rfscholte commented Jan 14, 2023

If you compare the output of the standard logging with the jpa logging you should notice some differences: no loglevel, no date. That's a sign something that jpa is using a different logging mechanism.

Weird enough, I would expect spring.jpa.show-sql=false to work, but it didn't. I would prefer the usage of the property, so you don't have to adjust every DataJpaTest, but can control it with a single property.

@rfscholte rfscholte changed the title Set showSql to false on the DataJpaTest annotation to suppress the jp… [SOLUTION] Spring-boot jpa Jan 14, 2023
@rfscholte rfscholte added the solution The solution for one specific issue label Jan 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

solution The solution for one specific issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants