.agents/skills/rustfs-logging-governance/references/logging-governance.md
Read this reference only for a broad logging audit, an event-model migration,
or a change to scripts/check_logging_guardrails.sh. Use Cargo.toml for the
current workspace/crate list instead of maintaining one here.
info.Prefer stable fields in this order when available:
eventcomponentsubsystemstate or resultReuse the module's constants and neighboring field names. Do not create aliases for the same concept.
info/debug;?value/Debug output for credential-bearing or attacker-controlled data;When expanding scripts/check_logging_guardrails.sh:
Useful search seeds for the changed surface:
rg -n 'error!|warn!|info!|debug!|trace!|#\[instrument' <changed-paths>
rg -n '\?[^,)]|secret|token|credential|authorization|merged_config' <changed-paths>