[fw-general] Zend_Log date format
Hi, I wonder why the date_format of Zend_Log is hardcoded (date('c')). Wouldn't it be nice to be able to attach a Zend_Date object to Zend_Log to accomplish this? I have two reasons: 1. I want to see milliseconds in my log for performance profiling 2. I want my log to be in UTC even my web application has other locale settings. Best regards, - Rainer -- View this message in context: http://www.nabble.com/Zend_Log-date-format-tp15413109s16154p15413109.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] Zend_Log date format
-- Rainer Collet [EMAIL PROTECTED] wrote (on Monday, 11 February 2008, 07:28 AM -0800): I wonder why the date_format of Zend_Log is hardcoded (date('c')). Wouldn't it be nice to be able to attach a Zend_Date object to Zend_Log to accomplish this? I have two reasons: 1. I want to see milliseconds in my log for performance profiling 2. I want my log to be in UTC even my web application has other locale settings. This sounds like a good and reasonable improvement; please place an issue in the tracker so we can implement it. -- Matthew Weier O'Phinney PHP Developer| [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/