Edit report at http://bugs.php.net/bug.php?id=52052&edit=1

 ID:               52052
 Patch added by:   f...@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 following patch has been added/updated:

Patch Name: fpm-syslog.v3.patch
Revision:   1276419780
URL:       
http://bugs.php.net/patch-display.php?bug=52052&patch=fpm-syslog.v3.patch&revision=1276419780


Previous Comments:
------------------------------------------------------------------------
[2010-06-13 10:41:26] f...@php.net

You can try instead the new revision of the patch I've just attached.



It adds sending slowlog to syslog.



Set slowlog to syslog. Moreover you can set slowlog_syslog_level to same
values as 

log_level. By default it's LOG_DEBUG. There is no way to change the
ident and the 

facility for slowlog, it takes the same values as the globals ones 

(syslog_facility and syslog_event). There is no need to because the pool
name is 

prepended to every slowlog message.

------------------------------------------------------------------------
[2010-06-13 10:36:27] f...@php.net

The following patch has been added/updated:

Patch Name: fpm-syslog.v2.patch
Revision:   1276418186
URL:       
http://bugs.php.net/patch-display.php?bug=52052&patch=fpm-syslog.v2.patch&revision=1276418186

------------------------------------------------------------------------
[2010-06-12 19:54:05] ef-lists at email dot de

Great job! :-)



I'll try it out and report feedback to you.

------------------------------------------------------------------------
[2010-06-12 18:49:35] f...@php.net

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

------------------------------------------------------------------------
[2010-06-12 18:47:15] f...@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

------------------------------------------------------------------------


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    http://bugs.php.net/bug.php?id=52052


-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52052&edit=1

Reply via email to