Skip to main content

Stream supervisord logs to a syslog instance

Project description

A [supervisor] plugin to stream events to an external Syslog instance (for example, Logstash).

Installation

Python 2.7 or Python 3.2+ is required.

` pip install supervisor-logging `

Note that supervisor itself does not yet work on Python 3, though it can be installed in a separate environment (because supervisor-logging is a separate process).

Usage

The Syslog instance to send the events to is configured with the environment variables:

  • SYSLOG_SERVER
  • SYSLOG_PORT
  • SYSLOG_PROTO

Add the plugin as an event listener:

` [eventlistener:logging] command = supervisor_logging events = PROCESS_LOG `

Enable the log events in your program:

` [program:yourprogram] stdout_events_enabled = true stderr_events_enabled = true `

[supervisor]: http://supervisord.org/

Project details


Release history Release notifications

This version
History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
supervisor-logging-0.0.9.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None May 24, 2015

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page