Skip to content

Log Authorization header as "[REDACTED]"? #5669

@AndreKR

Description

@AndreKR

I just spend an hour debugging why my application seemingly isn't sending Authorization headers, until I found out that Caddy logs them as empty arrays.

Would it be possible/better to log them as the string "[REDACTED]" which is commonly used to replace sensitive values in log output?

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussion 💬The right solution needs to be found

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions