Skip to main content

URL_PASSWORD_MASK

Constant URL_PASSWORD_MASK 

Source
pub const URL_PASSWORD_MASK: &str = "****";
Expand description

Mask substituted for the userinfo password portion of a URL by redact_url_password / redact_urls_in_message. The username and host stay readable so operators can still correlate the log line with the deployment; only the secret is destroyed.