logfire icon indicating copy to clipboard operation
logfire copied to clipboard

Redacting content that isn't private

Open bllchmbrs opened this issue 1 year ago • 1 comments

Description

Right now I've got some content that I want to print in logfire, but it's being redacted as private, but there's nothing private!

I imagine what is triggering it is the word dotenv or env.

It strikes me as overly sensitive and I don't see a way to configure it.

Python, Logfire & OS Versions, related packages (not required)

No response

bllchmbrs avatar May 05 '24 20:05 bllchmbrs

See https://docs.pydantic.dev/logfire/guides/advanced/scrubbing/#scrubbing-less-with-a-callback

alexmojaki avatar May 05 '24 20:05 alexmojaki

Does that documentation solve your issue, @bllchmbrs ?

Kludex avatar May 06 '24 08:05 Kludex

All good, thanks!

bllchmbrs avatar May 06 '24 16:05 bllchmbrs