|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #62356 Add syslog support to mail.log (php_mail)
Submitted: 2012-06-18 18:50 UTC Modified: 2012-07-24 12:40 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: michael at orlitzky dot com Assigned: fa (profile)
Status: Closed Package: Mail related
PHP Version: 5.4Git-2012-06-18 (Git) OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: michael at orlitzky dot com
New email:
PHP Version: OS:


 [2012-06-18 18:50 UTC] michael at orlitzky dot com
The PHP error logs support logging to syslog. You simply set,

  error_log = syslog

in php.ini, and PHP handles the rest. The new mail.log setting does not support this, however, so it is difficult to consolidate your logs if you use syslog. Setting,

  mail.log = syslog

results in a file name 'syslog' in the current directory.


php-mail.log-syslog_support.patch (last revision 2012-06-18 18:50 UTC by michael at orlitzky dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-24 12:32 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: fa
 [2012-07-24 12:40 UTC]
-Status: Assigned +Status: Closed
 [2012-07-24 12:40 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

Fixed in 5.4 and master - thanks for the patch!
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Jul 23 19:01:25 2021 UTC