thanks for your quick reply and yes this helps. I already use a derived
implementation of jOOQ's LoggerListener. I know that I'm free to override
the renderEnd() method to reflect my needs but using setRenderSchema(false)
will do the job, too.
Am Donnerstag, 22. Februar 2018 13:00:27 UTC+1 schrieb Lukas Eder:
> Hi Marcus,
> The default LoggerListener will log the queries exactly as they are being
> sent to the JDBC driver (and thus the server). If this request isn't really
> specific to logging only, then you could turn off the generation of schema
> names by specifying Settings.renderSchema = false in your Configuration
> object at runtime  , or
> specify <outputSchemaToDefault>true</outputSchemaToDefault> in your code
> generation configuration 
> If, however, you'd like to keep the actual SQL as it is and just generate
> different log output, then turn off Settings.executeLogging = false  and
> implement your own ExecuteListener . You could take inspiration from the
> jOOQ LoggerListener
> Hope this helps,
>  https://www.jooq.org/doc/latest/manual/sql-execution/execute-listeners
>> is there any possibility to customize the format of the logged executing
>> For example assume the following default logging:
>> Execute query : select `test`.`table`.`id` from `test`.`table`
>> where `test`.`table`.`fk_sid` = 43
>> I want to make the logging more concise by omitting the database / schema
>> Execute query : select `table`.`id` from `table` where
>> `table`.`fk_sid` = 43
>> Is this possible by means of any render configuration?
>> Kind regards,
>> You received this message because you are subscribed to the Google Groups
>> "jOOQ User Group" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "jOOQ
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.