Skip to content

Add support for debug logging #1255

Description

@enocom

Sometimes it helps to know more than what the proxy logs (certificate expiration times, for example). This is a feature request to add support for debug logging, as enabled by a --debug flag or similar. When callers supplied this flag, the proxy would be much more chatty about its internal state, the certificates, the connection data, etc.

Activity

  1. added
    priority: p3Desirable enhancement or fix. May not be included in next release.
    type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.
    on Jul 1, 2022
  2. trajan0x commented on Oct 4, 2022

    @trajan0x

    I'd also like to see a way to change log level down (e..g ignore accepted/closed levels)

  3. enocom commented on Oct 4, 2022

    @enocom
    MemberAuthor

    @trajan0x Have you checked out the v2 proxy? It's much more terse about what it logs. I'd be interested if you'd want to adjust still further.

  4. trajan0x commented on Oct 4, 2022

    @trajan0x

    @enocom here's what that looks like on my end:

    image

    This is about .2 seconds from a single pod

  5. enocom commented on Oct 4, 2022

    @enocom
    MemberAuthor

    That's pretty chatty. Seems like a --quiet flag that just logged errors would be in order.

  6. enocom commented on Oct 4, 2022

    @enocom
    MemberAuthor

    See #1452.

  7. removed their assignment
    on Oct 13, 2022
  8. enocom commented on Nov 29, 2022

    @enocom
    MemberAuthor

    We will wait until slog lands in the standard library and then add this.

    golang/go#56345

  9. enocom commented on Mar 17, 2023

    @enocom
    MemberAuthor

    Going to close this for now.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions