One of my maven module ignores my logging levels when running tests.
In src/test/resources I have application.properties:
src/test/resources
application.properties
app
If your tests are annotated with @DataJpaTest you can switch Hibernate SQL logging off with:
@DataJpaTest
@DataJpaTest(showSql=false) public class MyTest { .. }