The
out-of-the-box
logger is really a very simple ExecuteListener, which you can easily write yourself according to your own specific needs.
There had been a few requests in the past to make the out of the box functionality configurable. Some examples:
- Ability to pass specific formatting options (e.g. \n or \r\n for newlines, etc.)
- Ability to generate ? bind placeholders with bind values in comments, e.g. ? /* 1 */
- Ability to override the number of result rows logged by default
- Result formatting options (e.g. log results as CSV or JSON rather than text)
I think we almost have enough material to employ a full time employee on the configurability of this logger :)
Or, you just quickly implement your own logger listener, based on the implementation of org.jooq.tools.LoggerListener (e.g. override resultEnd(), recordEnd() with a no-op implementation) and have it exactly your way.
I hope this helps,
Lukas