php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #52126 The mail.log added in PHP 5.3.0 has no timestamps.
Submitted: 2010-06-19 17:03 UTC Modified: 2013-01-06 14:14 UTC
Votes:7
Avg. Score:4.9 ± 0.3
Reproduced:7 of 7 (100.0%)
Same Version:5 (71.4%)
Same OS:3 (42.9%)
From: mark at msapiro dot net Assigned: kalle (profile)
Status: Closed Package: Mail related
PHP Version: 5.3.2 OS: CentOS 5
Private report: No CVE-ID: None
 [2010-06-19 17:03 UTC] mark at msapiro dot net
Description:
------------
The entries in the PHP 5.3.0 and up mail.log have no timestamps. Timestamps would be incredibly useful for multiple reasons including meaningful logwatch reports.


Patches

Add_timestamp_to_mail.log--probably_could_be_better_if_I_knew_any_php_internals (last revision 2010-06-19 20:27 UTC by mark at msapiro dot net)

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-06-20 19:22 UTC] kalle@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: kalle
 [2012-04-23 18:15 UTC] bakers at canbytel dot com
Timestamps would be EXTREMELY useful for this function. I second the request for adding this functionality.
 [2012-12-24 10:45 UTC] mj@php.net
See https://github.com/php/php-src/pull/245 for a slightly alternative approach 
using the common date format in PHP.
 [2013-01-06 14:14 UTC] lstrojny@php.net
-Status: Assigned +Status: Closed
 [2013-01-06 14:14 UTC] lstrojny@php.net
The fix for this bug has been committed.

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.5 and master.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 12:01:29 2024 UTC