Bug #69061 [NEW]: mail.log = syslog contains double information
| From: | mail at tomsommer dot dk | Date: | Mon, 16 Feb 2015 15:34:02 +0000 |
| Subject: | Bug #69061 [NEW]: mail.log = syslog contains double information | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-190715@lists.php.net to get a copy of this message | ||
From: mail at tomsommer dot dk
Operating system:
PHP version: 5.6.5
Package: *Mail Related
Bug Type: Bug
Bug description:mail.log = syslog contains double information
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"
--
Edit bug report at https://bugs.php.net/bug.php?id=69061&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69061&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69061&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69061&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69061&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69061&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69061&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69061&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69061&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69061&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69061&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69061&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69061&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69061&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69061&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69061&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69061&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69061&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69061&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69061&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69061&r=mysqlcfg