supervisor-stdlog


Namesupervisor-stdlog JSON
Version 0.7.9 PyPI version JSON
download
home_pagehttp://github.com/razielanarki/supervisor-stdlog
SummaryA simple supervisord event listener to relay process stdout and stderr to supervisor's stdout.
upload_time2023-11-18 06:51:46
maintainer
docs_urlNone
authorRaziel Anarki
requires_python
licenseLicense :: OSI Approved :: MIT License
keywords supervisord supervisord-configuration logging containerization
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # supervisor-stdlog

A simple [supervisord](http://supervisord.org/) 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

```shell
pip install supervisor-stdlog
```
...or add to your requirements.txt:

```ini
supervisor-stdlog==0.7.9
```

## Usage

An example supervisord.conf:

```ini
[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
```

            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/razielanarki/supervisor-stdlog",
    "name": "supervisor-stdlog",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "supervisord,supervisord-configuration,logging,containerization",
    "author": "Raziel Anarki",
    "author_email": "razielanarki@semmi.se",
    "download_url": "https://files.pythonhosted.org/packages/e5/ea/5f28b69b2beb131816ea1cadd373b466809e6b6bada68666ea05dd180de0/supervisor-stdlog-0.7.9.tar.gz",
    "platform": null,
    "description": "# supervisor-stdlog\n\nA simple [supervisord](http://supervisord.org/) event listener to relay\nprocess **stdout** _and_ **stderr** to supervisor's stdout.\n\nThis is useful in situations where supervisor oversees processes in a container / stack,  \nso the logs can be collected by the orchestating runtime.\n\n## Installation\n\nJust install via pip\n\n```shell\npip install supervisor-stdlog\n```\n...or add to your requirements.txt:\n\n```ini\nsupervisor-stdlog==0.7.9\n```\n\n## Usage\n\nAn example supervisord.conf:\n\n```ini\n[supervisord]\nnodaemon = true\n\n[program:web]\ncommand = ...\nstdout_events_enabled = true\nstderr_events_enabled = true\n\n[eventlistener:stdlog]\nevents = PROCESS_LOG\ncommand = supervisor-stdlog\nresult_handler = supervisor_stdlog:log_handler\nbuffer_size = 100\n```\n",
    "bugtrack_url": null,
    "license": "License :: OSI Approved :: MIT License",
    "summary": "A simple supervisord event listener to relay process stdout and stderr to supervisor's stdout.",
    "version": "0.7.9",
    "project_urls": {
        "Homepage": "http://github.com/razielanarki/supervisor-stdlog"
    },
    "split_keywords": [
        "supervisord",
        "supervisord-configuration",
        "logging",
        "containerization"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ca59683beb46966af1d18afd60dada57e8035f4b99619302742e6ba9fec50c7f",
                "md5": "273c35fd739612b6f63e1cc34caa12ce",
                "sha256": "811e236e24be5d41dc90e41a489c28040e2943655d17562efc53dacdeaf33a03"
            },
            "downloads": -1,
            "filename": "supervisor_stdlog-0.7.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "273c35fd739612b6f63e1cc34caa12ce",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 3915,
            "upload_time": "2023-11-18T06:51:45",
            "upload_time_iso_8601": "2023-11-18T06:51:45.136111Z",
            "url": "https://files.pythonhosted.org/packages/ca/59/683beb46966af1d18afd60dada57e8035f4b99619302742e6ba9fec50c7f/supervisor_stdlog-0.7.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e5ea5f28b69b2beb131816ea1cadd373b466809e6b6bada68666ea05dd180de0",
                "md5": "d7c6d56e65aefa23e0912587207ccbaa",
                "sha256": "cc9cfb7a87a035ef335ead6ea8b8d7cf3e623af7bdd2e16fb8ccd23f82675561"
            },
            "downloads": -1,
            "filename": "supervisor-stdlog-0.7.9.tar.gz",
            "has_sig": false,
            "md5_digest": "d7c6d56e65aefa23e0912587207ccbaa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3494,
            "upload_time": "2023-11-18T06:51:46",
            "upload_time_iso_8601": "2023-11-18T06:51:46.523463Z",
            "url": "https://files.pythonhosted.org/packages/e5/ea/5f28b69b2beb131816ea1cadd373b466809e6b6bada68666ea05dd180de0/supervisor-stdlog-0.7.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-18 06:51:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "razielanarki",
    "github_project": "supervisor-stdlog",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "supervisor-stdlog"
}
        
Elapsed time: 2.24605s