I've written a patch for supervisor that allows the user to configure logging of stdout and stderr from child processes to Facebook's scribe [1]. This patch is based upon trunk #975 although as far as I can tell, it should apply cleanly to the 3.0a8 release as well. This patch requires a few extra dependencies be added, although it should allow supervisord to function normally without scribe support if they are not available. Debian packages for these components are available from Digg's open source mirror [2].
- scribe - python-thrift - thrift-fb303 Usage: (stdout|stderr)_logfile=scribe://scribe_address[:scribe_port]/[scribe_category] Example: [program:scribetest] command=/tmp/scribetest.py stdout_logfile=scribe://127.0.0.1/supervisor_test_stdout stderr_logfile=scribe://127.0.0.1/supervisor_test_stderr I've attached a copy of the patch to this message and have also pushed it to my supervisor git repository [3] on github. [1] http://github.com/facebook/scribe [2] http://about.digg.com/opensource/ops [3] http://github.com/synack/supervisor/commit/8b399029b510018688ed76a53154fc582d1ede5f -- Jeremy Grosser
scribe_logging.patch
Description: Binary data
_______________________________________________ Supervisor-users mailing list [email protected] http://lists.supervisord.org/mailman/listinfo/supervisor-users
