I don't want to see the sql generated by spring batch to its batch tables.
I only want to see the sql generated from my dao.
I put in this in my application.properties, but it still prints out spring batch sql.
log4jdbc.debug.stack.prefix=^com.mycompany.*.
The spring out sql is like this
2019-07-12 16:18:51,980 DEBUG [RMI TCP Connection(1)-172.20.227.231] net.sf.log4jdbc.log.slf4j.Slf4jSpyLogDelegator: org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:438)
I don't want to see the sql generated by spring batch to its batch tables. I only want to see the sql generated from my dao. I put in this in my application.properties, but it still prints out spring batch sql. log4jdbc.debug.stack.prefix=^com.mycompany.*.
The spring out sql is like this 2019-07-12 16:18:51,980 DEBUG [RMI TCP Connection(1)-172.20.227.231] net.sf.log4jdbc.log.slf4j.Slf4jSpyLogDelegator: org.springframework.jdbc.core.JdbcTemplate$1QueryStatementCallback.doInStatement(JdbcTemplate.java:438)