Dear Knut,
Thanks for your quick reply. I have double checked my logging configuration file. It is exactly the same that I have been using with jooq 3.10.4. I have attached it. It is pretty standard.
What I find interesting is that when I use withExecuteLogging(true), I do not get the DELETE without WHERE debug messages into my log file. They only appear via console output. If I use withExecuteLogging(false), I get nothing in my jooq log file (as expected) but I still get the DELETE without WHERE sent to the console. It doesn't make sense to me that it should do this.
Are you saying that in 3.11, we have to use BOTH withExecuteLogging() AND the two new properties you mentioned to control logging. If so, why doesn't the DELETE without WHERE messages appear in the normal jooq log attached to
org.jooq.tools.LoggerListener?
For example, this appears in my regular jooq log file:
2019-07-31 10:06:16,824 2240 [main] DEBUG org.jooq.tools.LoggerListener - Executing query : delete from "JSL_DB"."BATCH_STAT"
2019-07-31 10:06:16,845 2261 [main] DEBUG org.jooq.tools.LoggerListener - Executing query : delete from "JSL_DB"."WITHIN_REP_COUNTER_STAT"
2019-07-31 10:06:16,853 2269 [main] DEBUG org.jooq.tools.LoggerListener - Executing query : delete from "JSL_DB"."ACROSS_REP_STAT"
2019-07-31 10:06:16,869 2285 [main] DEBUG org.jooq.tools.LoggerListener - Executing query : delete from "JSL_DB"."WITHIN_REP_STAT"
2019-07-31 10:06:16,881 2297 [main] DEBUG org.jooq.tools.LoggerListener - Executing query : delete from "JSL_DB"."MODEL_ELEMENT"
2019-07-31 10:06:16,902 2318 [main] DEBUG org.jooq.tools.LoggerListener - Executing query : delete from "JSL_DB"."SIMULATION_RUN"
But, this ONLY appears on my console:
2019-07-31 10:06:16,812 2228 [main] DEBUG org.jooq.impl.AbstractQuery - DELETE without WHERE : A statement is executed without WHERE clause
2019-07-31 10:06:16,844 2260 [main] DEBUG org.jooq.impl.AbstractQuery - DELETE without WHERE : A statement is executed without WHERE clause
2019-07-31 10:06:16,852 2268 [main] DEBUG org.jooq.impl.AbstractQuery - DELETE without WHERE : A statement is executed without WHERE clause
2019-07-31 10:06:16,869 2285 [main] DEBUG org.jooq.impl.AbstractQuery - DELETE without WHERE : A statement is executed without WHERE clause
2019-07-31 10:06:16,881 2297 [main] DEBUG org.jooq.impl.AbstractQuery - DELETE without WHERE : A statement is executed without WHERE clause
2019-07-31 10:06:16,901 2317 [main] DEBUG org.jooq.impl.AbstractQuery - DELETE without WHERE : A statement is executed without WHERE clause