Bug #69061 [Opn->Csd]: mail.log = syslog contains double information
| From: | nikic@php.net | Date: | Sat, 14 Jan 2017 12:54:13 +0000 |
| Subject: | Bug #69061 [Opn->Csd]: mail.log = syslog contains double information | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-206613@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69061&edit=1
ID: 69061
Updated by: nikic@php.net
Reported by: mail at tomsommer dot dk
Summary: mail.log = syslog contains double information
-Status: Open
+Status: Closed
Type: Bug
Package: *Mail Related
PHP Version: 5.6.5
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of tomsommer@users.noreply.github.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e77a1dbe409aa9f2a2910f1337c8b90786597f69
Log: Fix bug #69061
Previous Comments:
------------------------------------------------------------------------
[2015-02-16 15:49:38] mail at tomsommer dot dk
Pull request: https://github.com/php/php-src/pull/1087
------------------------------------------------------------------------
[2015-02-16 15:34:01] mail at tomsommer dot dk
Description:
------------
"mail.log = syslog" pushes the timestamp to syslog. This makes the timestamp come up twice
in logs, as syslog adds its own timestamp.
https://github.com/php/php-src/blob/fc33f52d8c25997dd0711de3e07d0dc260a18c11/ext/standard/mail.c#L260
A custom syslog-correct format should be made for when mail.log is set to "syslog", as
done with "error_log = syslog"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69061&edit=1