A simple supervisord event listener to relay process stdout and stderr to supervisor's stdout.
Project description
supervisor-stdlog
A simple supervisord event listener to relay process stdout and stderr to supervisor's stdout.
This is useful in situations where supervisor oversees processes in a container / stack,
so the logs can be collected by the orchestating runtime.
Installation
Just install via pip
pip install supervisor-stdlog
...or add to your requirements.txt:
supervisor-stdlog==0.7.9
Usage
An example supervisord.conf:
[supervisord]
nodaemon = true
[program:web]
command = ...
stdout_events_enabled = true
stderr_events_enabled = true
[eventlistener:stdlog]
events = PROCESS_LOG
command = supervisor-stdlog
result_handler = supervisor_stdlog:log_handler
buffer_size = 100
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for supervisor_stdlog-0.7.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 811e236e24be5d41dc90e41a489c28040e2943655d17562efc53dacdeaf33a03 |
|
MD5 | 273c35fd739612b6f63e1cc34caa12ce |
|
BLAKE2b-256 | ca59683beb46966af1d18afd60dada57e8035f4b99619302742e6ba9fec50c7f |