Req #52052 [Com]: add syslog support to FPM
| From: | fat@php.net | Date: | Sat, 12 Jun 2010 16:49:36 +0000 |
| Subject: | Req #52052 [Com]: add syslog support to FPM | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-151381@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52052&edit=1
ID: 52052
Comment by: fat@php.net
Reported by: ef-lists at email dot de
Summary: add syslog support to FPM
Status: Assigned
Type: Feature/Change Request
Package: FPM related
Operating System: Linux/*NIX
PHP Version: 5.3SVN-2010-06-11 (SVN)
Assigned To: fat
New Comment:
The attached patch should activate syslog sypport to error_log only. You
can try
it on trunk.
change error_log to "syslog"
You can also set
syslog_facility and syslog_ident to feet your needs. But default values
should
be OK.
I'm working on the slowlog patch also but it's a bit more complicated.
++ Jerome
Previous Comments:
------------------------------------------------------------------------
[2010-06-12 18:47:15] fat@php.net
The following patch has been added/updated:
Patch Name: fpm-syslog.v1.patch
Revision: 1276361235
URL:
http://bugs.php.net/patch-display.php?bug=52052&patch=fpm-syslog.v1.patch&revision=1276361235
------------------------------------------------------------------------
[2010-06-11 18:10:10] ef-lists at email dot de
Description:
------------
At current, FPM only allows logging to local files, both for the
ErrorLog and SlowLog.
Using syslog aids the administrator greatly in centralizing logfiles.
Also PHP itself has syslog support, so FPM should consequently have it,
too.
I hereby ask to add syslog support to FPM.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52052&edit=1