Hm, all that data did go back to the client so it’s exposed there and if 
non-admin can read your logs you have a different problem. But most rdbms can 
log the queries themselves so you should be able to turn off jooq logging

> On Jul 27, 2020, at 8:37 PM, hari prasad Narayanappa .A 
> <[email protected]> wrote:
> 
> 
> Hello Lukas,
> 
> Thank you for the quick response. As far as I understand we can either switch 
> of completely or live with "Executing Query" and "Fetched Result & Fetched 
> row(s)".
> 
> If we could have the switch/config between the "Executing Query" and "Fetched 
> Result". Then we can switch off the "Fetched Result" which could lead to 
> exposing sensitive data.
> Please let me know if my understanding is correct and your views on the 
> switch.
> 
> Regards,
> Harish.
> 
>> On Monday, July 27, 2020 at 9:14:54 PM UTC+5:30, Lukas Eder wrote:
>> Hi Harish,
>> 
>> These things are printed by default on DEBUG level. You can turn off debug 
>> logging for jOOQ, or turn off logging in jOOQ in general:
>> https://www.jooq.org/doc/latest/manual/sql-execution/logging/ 
>> 
>> Thanks,
>> Lukas 
>> 
>>> On Mon, Jul 27, 2020 at 4:39 PM <[email protected]> wrote:
>>> Hi,
>>> 
>>> I would like to understand how to avoid DB values and print only the SQL. 
>>> There could be sensitive information when the values are printed.
>>> Currently my configuration prints both SQL and the DB record with values.
>>> 
>>> Thanks,
>>> Harish.
>>> -- 
>>> 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 to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/jooq-user/aaf64df0-373c-4012-b450-7e32c8ea4654o%40googlegroups.com.
> 
> -- 
> 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 to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jooq-user/41c0e781-ae67-4a6d-8ff7-185afe385f0co%40googlegroups.com.

-- 
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 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jooq-user/A3A99F6E-82D6-48A8-A287-F22B30B2E8B6%40gmail.com.

Reply via email to