php.net |  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
Votes:1
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: michael at orlitzky dot com
New email:
PHP Version: OS:

 

 [2012-06-18 18:50 UTC] michael at orlitzky dot com
Description:
------------
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.



Patches

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

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-24 12:32 UTC] fa@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: fa
 [2012-07-24 12:40 UTC] fa@php.net
-Status: Assigned +Status: Closed
 [2012-07-24 12:40 UTC] fa@php.net
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
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 03:01:27 2024 UTC