Zend Framework

Zend_Log - line 303 - Allow us to define timestamp

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.10.4
  • Fix Version/s: 1.11.0
  • Component/s: Zend_Log
  • Labels:
    None

Description

As mentioned in summary, the timestamp value is hardcoded as date('c'). For some of us we use a specific time stamp pattern for our logging to allow for easy parsing via pre-defined regexes. It would be nice if we could override the value before being passed to $event var.

For now I have created a child class which extends Zend_Log and copied the Log() function contents to the child class to override, kinda messy but gets us by.

Thanks.

Activity

Hide
Jan Pieper added a comment -

Added in r22267.

Show
Jan Pieper added a comment - Added in r22267.
Hide
Ramon Henrique Ornelas added a comment -

Not was applied in branch.

Show
Ramon Henrique Ornelas added a comment - Not was applied in branch.
Hide
Dolf Schimmel (Freeaqingme) added a comment -

Closing since new functionality should not be introduced in mini releases and the fix already was applied in trunk.

Show
Dolf Schimmel (Freeaqingme) added a comment - Closing since new functionality should not be introduced in mini releases and the fix already was applied in trunk.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: