Skip to content

[Cache] No logs with TagAwareAdapter #40108

Closed
@fancyweb

Description

@fancyweb

Symfony version(s) affected: all

Contrary to other adapters, TagAwareAdapter does not have a $logger property so it produces no logs. It's especially visible if you have an existing pool: adding tags: true makes the logs disappear. Implementing LoggerAwareInterface and using LoggerAwareTrait + tweaking some DI definitions resolve it. Can we consider this a bug fix, or is that a feature?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions