In my java class, I have a session.save()
statement which saves some thousand rows in the database at a time.
Now as the spring.jpa.properties.hibernate.show_sql
is true
, it shows each and every insert statement in the console. This buries all important logs on the console and also other important hibernate query statements.
Is it possible to stop logging for any insert/save
statements? OR
Is it possible to stop particular class
from logging? If yes then please show me a way.
Thank you!