Skip to content

[Website]: Snippet does not produce expected outcome shown on site #3522

@janmlam

Description

@janmlam

Type of issue

Inaccurate

What documentation page is affected

https://www.elastic.co/docs/reference/ecs/logging/python/installation#structlog

What happened?

The example code in https://www.elastic.co/docs/reference/ecs/logging/python/installation#structlog
does not produce

"log": {
    "level": "debug"
  },

but "log.level":"debug".

Used "ecs-logging (>=2.2.0,<3.0.0)" and structlog (>=25.4.0,<26.0.0)" through poetry package handling.

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    communityneeds-teamIssues pending triage by the Docs Teamsource:webIssues originating from the elastic.co docs

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions