Skip to content

Some logs ignore the JSON log format setting #7697

Description

@jakubgs

Describe the bug
Despite setting server.log_format to json two log lines appear to ignore the setting:

ERROR: [transport] Client received GoAway with error code ENHANCE_YOUR_CALM and debug data equal to ASCII "too_many_pings".
maxprocs: Leaving GOMAXPROCS=4: CPU quota undefined

To Reproduce
Steps to reproduce the behavior:

  1. Start Cortex 1.21.1
  2. Check logs

Expected behavior
All logs respect the selected json format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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