Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 396265 - dev-lang/php-5.3.8 should write timestamps to mail.log
Summary: dev-lang/php-5.3.8 should write timestamps to mail.log
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: PHP Bugs
URL: https://bugs.php.net/bug.php?id=52126
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2011-12-28 07:35 UTC by Sergey S. Starikoff
Modified: 2011-12-29 15:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch (oryginally written for php-5.3.2) (php_add_timestamp_to_mail.log.patch,1.04 KB, text/plain)
2011-12-28 07:36 UTC, Sergey S. Starikoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2011-12-28 07:35:52 UTC
I was pleased finding in php.ini the mail.log (in 5.3.8 only file, not syslog) feature.
But the test showed, that timestamp is not included into log message.
So, its nearly useless for following analyse.

Search in upstream bugzilla showed, that this issue is not new:
https://bugs.php.net/bug.php?id=52126
Patch file is provided.
This patch (for php-5.3.2) is attached.
Comment 1 Sergey S. Starikoff 2011-12-28 07:36:40 UTC
Created attachment 297159 [details]
patch (oryginally written for php-5.3.2)
Comment 2 Ole Markus With (RETIRED) gentoo-dev 2011-12-29 15:26:09 UTC
Hi. Thanks for the patch.

However, our patchset policy is to only allow patches that fix secruity and Gentoo-specific problems.

If you want to make use of this patch, please make use of the epatch_user feature: drop the patch in /etc/portage/patches/dev-lang/php/