Edit report at http://bugs.php.net/bug.php?id=53777&edit=1

 ID:                 53777
 Updated by:         [email protected]
 Reported by:        simast at gmail dot com
 Summary:            PHP-FPM error log date format is different from PHP
                     error_log
 Status:             Open
 Type:               Feature/Change Request
 Package:            FPM related
 Operating System:   Linux (Ubuntu)
 PHP Version:        5.3.5
 Block user comment: N
 Private report:     N

 New Comment:

It should be the same. 



Then, I would say "don't change error_log format and move FPM log format
to fit 

error_log".


Previous Comments:
------------------------------------------------------------------------
[2011-01-18 15:59:52] [email protected]

I would actually suggest changing both formats to:

yyyy-mm-dd hh:ii:ss

------------------------------------------------------------------------
[2011-01-18 15:52:29] simast at gmail dot com

Description:
------------
The date format used for PHP error_log is "[25-Dec-2010 12:57:43]"

The date format for PHP-FPM error log is "Dec 25 13:16:14.610146"



Anyway this can be unified? I usually log all PHP related errors to a
single log 

file (PHP-FPM included) and this different date formatting is a bit
weirdo.



I have marked this as Feature/Change request rather than a bug. If there
are any 

important reasons for keeping it this way (or any BC breaks) - please
ignore me.



------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53777&edit=1

Reply via email to