Skip to content

NO JIRA: avoid logging AMQP credentials in python binding#446

Open
kserin wants to merge 1 commit into
apache:mainfrom
kserin:main
Open

NO JIRA: avoid logging AMQP credentials in python binding#446
kserin wants to merge 1 commit into
apache:mainfrom
kserin:main

Conversation

@kserin
Copy link
Copy Markdown

@kserin kserin commented May 22, 2026

When connecting to an AMQP broker using a URI that contains credentials (e.g. amqps://user:password@host:5671), the _Connector._connect method logged the full Url object via %r which includes username:password in the output.

I replaced the log to only log the scheme, host and port.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant