php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69061 mail.log = syslog contains double information
Submitted: 2015-02-16 15:34 UTC Modified: -
Votes:2
Avg. Score:3.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:1 (50.0%)
Same OS:1 (50.0%)
From: mail at tomsommer dot dk Assigned:
Status: Closed Package: *Mail Related
PHP Version: 5.6.5 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mail at tomsommer dot dk
New email:
PHP Version: OS:

 

 [2015-02-16 15:34 UTC] 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"


Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-02-16 15:49 UTC] mail at tomsommer dot dk
Pull request: https://github.com/php/php-src/pull/1087
 [2017-01-14 12:54 UTC] nikic@php.net
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
 [2017-01-14 12:54 UTC] nikic@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 27 16:01:27 2024 UTC