Reputation: 1431
When executing the JOOQ generator maven plugin, only the fetch results are logged, not the SQL statement itself.
mvn generate-sources -Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG -Dorg.slf4j.simpleLogger.level.org.jooq.tools.LoggerListener=DEBUG
I've tried with both, DEBUG and TRACE, TRACE only additionally logs every fetched record. Within my applications (Spring Boot, Quarkus), there is no such problem: with log level
org.jooq=DEBUG
I see SQL statements, bind values and the record fetched.
my environment:
Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 13.0.2
jooq-codegen-maven 3.13.14
Upvotes: 2
Views: 1313
Reputation: 221275
Some things you might try:
-X
or --debug
flag to get debug log output from Maven plugins, see Maven CLI options<logging>DEBUG</logging>
flag to your configuration: https://www.jooq.org/doc/latest/manual/code-generation/codegen-advanced/codegen-config-logging/Upvotes: 1