loud-helmet-81363
02/22/2024, 5:05 PMdisable_for_health
param
i've set it in kratos.yml & as env variable.
I still get the logs out. 😞refined-architect-59368
02/27/2024, 2:45 PMLOG_LEAK_SENSITIVE_VALUES
/ log.leak_sensitive_values
has to be set to false.
• the log level has to be debug
or higher (i.e. it cannot be trace
)
I think enabling leaking of sensitive values also forces trace
level logging, which in turn causes all logs to be written out, even the excluded ones.
I dug into the source code, and landed upon this https://github.com/ory/x/blob/d576b7be74ad19e15677c6f2aa83d0aa6d93efa5/reqlog/middleware.go#L117
All paths that get silenced get assigned the trace
log level.loud-helmet-81363
02/27/2024, 3:03 PM