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

From: Date: Wed, 03 Feb 2016 22:11:16 +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-199035@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:         iprok at kinetiksoft dot com
 Reported by:        herve dot commowick at fotolia dot com
 Summary:            fpm: syslog.ident don't work (truncated ?)
 Status:             Open
 Type:               Bug
 Package:            *General Issues
 Operating System:   Linux
 PHP Version:        5.5.15
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[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


Thread (5 messages)

« previous php.bugs (#199035) next »