Skip to content

Enabling extension and monolog leads to unexpected errors when no extension #242

Open
@PWalkow

Description

@PWalkow

As in #221 , enabling both monolog and extension leads to MissingExtensionException in NewRelicHandler on a LoggerInterface call.

Minimum configuration:

### ekino_new_relic.yaml
ekino_new_relic:
    enabled: true
    exceptions: true
    deprecations: true
    monolog:
        enabled: true
        level: error

should there be an extra check before loading the monolog handler even if it is not supported by missing extension to avoid playing with the configuration for environments that does not have an extension?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions