Req #53777 [Opn]: PHP-FPM error log date format is different from PHP error_log

From: Date: Tue, 18 Jan 2011 15:04:31 +0000
Subject: Req #53777 [Opn]: PHP-FPM error log date format is different from PHP error_log
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-157983@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=53777&edit=1 ID: 53777 Updated by: fat@php.net 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] derick@php.net 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

« previous php.bugs (#157983) next »