---
title: "Enhancing jOOQ Debug Logging for Safer Production Use"
url: https://daily.dev/posts/enhancing-jooq-debug-logging-for-safer-production-use-jeuazct7i
source_url: https://blog.jooq.org/managing-sensitive-data-in-jooq-3-21-logs/
type: article
source: "JOOQ"
published: 2026-03-27T14:03:15.551Z
updated: 2026-03-27T14:03:43.987Z
tags: ["java"]
reading_time: 2
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Enhancing jOOQ Debug Logging for Safer Production Use

**[JOOQ](https://daily.dev/sources/jooq)** · 2 min read · 0 upvotes · 0 comments

## Summary

jOOQ's debug logging prints executed queries with bind values and result sets, which is helpful during development but can expose sensitive data in production. jOOQ 3.21 commercial distributions introduce a 'redacted columns' feature configurable via code generation settings. By marking specific columns (e.g., BOOK.TITLE) as redacted, their values are masked with asterisks in all text/HTML output including debug logs, preventing accidental leakage of sensitive data.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.jooq.org/managing-sensitive-data-in-jooq-3-21-logs/>

## Similar posts on daily.dev

- [CodeQL 2.23.0 adds support for Rust log injection and other security detection improvements](https://daily.dev/posts/codeql-2-23-0-adds-support-for-rust-log-injection-and-other-security-detection-improvements-pn0rvpo7v) · GitHub Changelog · 1 upvotes · 0 comments

---

Tags: [#java](https://daily.dev/tags/java)

[View this post on daily.dev](https://daily.dev/posts/enhancing-jooq-debug-logging-for-safer-production-use-jeuazct7i)
