Skip to content

[Lock] downgrade log.info to log.debug #37710

@rvitaliy

Description

@rvitaliy

Description
the Lock class log to info level, but it's not a useful information to store in my production logs.
see:
https://github.com/symfony/lock/blob/8ecfa4943d835cc3803e4d6f9696c81c43fbae90/Lock.php#L81
https://github.com/symfony/lock/blob/8ecfa4943d835cc3803e4d6f9696c81c43fbae90/Lock.php#L138

I think that this type of log should be downgraded to debug instead of info
Currently i configure this class with NullLogger but it's not ideal because i can lost usefull logs like:
https://github.com/symfony/lock/blob/8ecfa4943d835cc3803e4d6f9696c81c43fbae90/Lock.php#L141

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