ZF-9870: Zend_Log - line 303 - Allow us to define timestamp
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.
Comments
Posted by Jan Pieper (jpieper) on 2010-05-23T14:03:40.000+0000
Added in r22267.
Posted by Ramon Henrique Ornelas (ramon) on 2010-05-29T21:07:53.000+0000
Not was applied in branch.
Posted by Dolf Schimmel (Freeaqingme) (freak) on 2010-05-31T11:58:35.000+0000
Closing since new functionality should not be introduced in mini releases and the fix already was applied in trunk.