Skip to content

[Logging] ElasticsearchLogstashHandler is suggesting to use handlers without explaining it #19412

Closed
@alexislefebvre

Description

@alexislefebvre

On https://symfony.com/doc/5.x/logging/handlers.html

We see:

In a production environment, it's highly recommended to wrap this handler in a handler with buffering capabilities (like the FingersCrossedHandler or BufferHandler) in order to call Elasticsearch only once with a bulk push.

But there are no explanation to configure these handlers.

Proposal: It would be nice to show how to do it.


Here is what happens when I try to search these words:

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    LoggerhasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions