Getting PHP-FPM to talk to syslog on Ubuntu
I'm working on a couple of applications that will deploy on EC2, and we're having a hell of a time getting error output (calls to error_log(), php errors, etc.) sent to anything but a text error log.
Any ideas as to what the issue is here? Is this even possible right now with php5-fpm and nginx????
Here's what I've tried.
Going to a text log is easy enough if we put
error_log = /some/damn/path/error.loginto a pool configuration for php5-fpm on Ubuntu (11.10 at the moment).
So if I do
<?php
Help fund backport of watchdog external logging for Drupal 5
Khalid Bahey is well on his way to getting a patch into Drupal 6 for spitting out logging of watchdog entries so that:
1. They can be routed to a different source other than the database, from a flat file to syslog support. The watchdog table can crush many sites.
2. Actions can be taken depending on the messages. Get notification via email, IM, pager, etc. depending on the severity levels of messages in your watchdog.
This will be a fantastic feature for Drupal 6....but really, we need it today for Drupal 5 as well. I've spoken with Khalid and he's willing to backport both the patch as well as the supporting modules. The plan of attack is:
Read more
