Skip to content

Fix disable_for_health setting #4068

@petersenlutz

Description

@petersenlutz

The serve.public.request_log.disable_for_health and serve.admin.request_log.disable_for_health settings are not honored at present.

The reason is an incorrect setting reference at:
https://github.com/ory/hydra/blob/ce589462a48853f16ed8447cadf17293b5eb6ab7/oryx/configx/serve.go#L66C4-L66C98

The line needs to be changed to:
DisableHealth: p.BoolF(prefix+"request_log.disable_for_health", defaults.RequestLog.DisableHealth),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions