Skip to content

Deprecated warnings sent to another channel after minor upgrade (v5.4.29 -> v5.4.31) #52672

Closed
@bakotiinii

Description

@bakotiinii

Symfony version(s) affected

v5.4.31

Description

I upgrade symfony from v5.4.29 to v5.4.31 and got huge amount of deprecated warning in my monolog logger in php channel.

My research showed me, that previously all deprecated errors were sent to security channel, and after upgrade it started to send to php channel.

Can you please explain, why symfony team decide to change default channel for deprecate error (from security to php) and how is it possible to return it back to security?

Example of deprecate errors:

User Deprecated: Since symfony/security-guard 5.3: The "Symfony\Component\Security\Guard\GuardAuthenticatorHandler" class is deprecated, use the new authenticator system instead.

User Deprecated: Since symfony/security-core 5.3: The "Symfony\Component\Security\Core\Authentication\Provider\AuthenticationProviderInterface" interface is deprecated, use the new authenticator system instead.

__

Thank you for your time.

p.s. i checked comparison v5.4.29...v5.4.31 and cant see anything related to change of the channel

How to reproduce

Use version of symfony/symfony - v5.4.31
Use some deprecated component from Security Core.

Possible Solution

No response

Additional Context

No response

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