I'm looking once again into how best to monitor a large Drupal 7 app I've deployed on AWS, using nginx and PHP-FPM (5.3.21 currently). The app uses autoscaling, and the instances often don't live very long (a day is a long time). So I need some kind of logging solution that will get my logs off the instances and into some kind of centralized store.
What are people doing for this use case?
I've noticed that more than a year after I last looked into this, PHP-FPM appears to have not committed a patch to support
error_log = syslog
as is supported for apache / mod_php. The last entry in the PHP bug system suggests that as of Dec 2013, this was not in PHP 5.5, much less anything older.
Does anyone know of:
- Usable patches to make PHP-FPM, well, behave.
- Other kinds of approaches to this problem.
What is the simplest solution to this problem?
Rob aka Torenware