Skip to content

Credentials are being logged on connection error #190

Closed
@latuszek

Description

@latuszek

Hi,
I've just come into a problem with logged credentials in the connection URL:

time=2024-10-01T09:30:06.453Z level=INFO source=:0 msg="gorabbit WARN: failed to connect to amqp server amqp://some-user:[email protected]:5671/: dial tcp 127.0.0.1:5671: connect: connection refused"

The credentials should never be written as a plain text log.

To test this you can simply set the wrong URL and try to connect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions