Bug #69061 [Com]: mail.log = syslog contains double information
| From: | mail at tomsommer dot dk | Date: | Mon, 16 Feb 2015 15:49:38 +0000 |
| Subject: | Bug #69061 [Com]: mail.log = syslog contains double information | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-190716@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
Comment by: mail at tomsommer dot dk
Reported by: mail at tomsommer dot dk
Summary: mail.log = syslog contains double information
Status: Open
Type: Bug
Package: *Mail Related
PHP Version: 5.6.5
Block user comment: N
Private report: N
New Comment:
Pull request: https://github.com/php/php-src/pull/1087
Previous Comments:
------------------------------------------------------------------------
[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