Bug #67764 [Com]: fpm: syslog.ident don't work (truncated ?)

From: Date: Fri, 20 Jan 2017 12:42:32 +0000
Subject: Bug #67764 [Com]: fpm: syslog.ident don't work (truncated ?)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206756@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67764&edit=1 ID: 67764 Comment by: lameventanas at gmail dot com Reported by: herve dot commowick at fotolia dot com Summary: fpm: syslog.ident don't work (truncated ?) Status: Open Type: Bug Package: FPM related Operating System: Linux PHP Version: 5.5.15 Block user comment: N Private report: N New Comment: The problem is still there with php 7.1.0. I had to implement a workaround by using syslog-ng rewrite statements. Previous Comments: ------------------------------------------------------------------------ [2016-02-03 22:11:14] iprok at kinetiksoft dot com 1,5 years passed from the bug being reported. And we still have this bug in php 5.6. And by the way, according to http://www.ietf.org/rfc/rfc3164 (4.1.3) we can't have spaces in syslog tagname: so there right one not "pool www[16869]:" but something like "pool-www[16869]:". Current situation breaks filtering using syslogtag in the syslog daemons, rsyslog for example. ------------------------------------------------------------------------ [2014-08-05 11:21:44] herve dot commowick at fotolia dot com Description: ------------ If i curl the test script, I got : Aug 5 13:07:36 webserver ool www[16869]: test syslog.ident is don't used or truncated ? others people have same problem : http://forums.famillecollet.com/viewtopic.php?id=2861 http://www.gomiworld.net/php-syslog-not-quite-right (at the end of the article) looks like an old bug. Test script: --------------- test.php : <?php syslog(LOG_INFO, "test") ?> php-fpm.conf : error_log = syslog syslog.facility = local6 syslog.ident = fpm ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67764&edit=1

« previous php.bugs (#206756) next »