Skip to content

[BUG]: Logger performance and level changes #16852

@niden

Description

@niden

For the Logger class the levels are being recorded in upper case. For phalcon/phalcon using PSR we record them lower case.

  • The levels need to change to record lower case to align with phalcon/phalcon
  • There is a known performance hit for the Stream adapter which opens the stream every time it needs to write a message. It is best to open it once, write everything and then close it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    5.0The issues we want to solve in the 5.0 releasebugA bug reportstatus: mediumMedium

    Type

    Projects

    Status

    Implemented

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions