problem description
how do I make log4j output only add, delete and modify sql statements, not query sql statements?
the environmental background of the problems and what methods you have tried
now the project uses log4j to manage the log, which used to output all sql statements, but the new module of the project needs to execute a large number of queries, resulting in the log file being too large. Now you want to output only the addition, deletion and modification of the sql statement, not the query statement.
does any god know how to solve this problem?