supervisor logs
Project description
Installation
$ [sudo] pip install supervisor-logs
Examples
file.ini
before
[program:name]
$ export SUPERVISOR_LOGS=~/Library/Logs
$ python -m supervisor_logs.add file.ini
file.ini
after
[program:name]
stderr_logfile = ~/Library/Logs/supervisor/name/err.log
stdout_logfile = ~/Library/Logs/supervisor/name/out.log
$ find . -name "*.ini" -exec supervisor_logs.add {} \; # add logs to program sections
$ find . -name "*.ini" -exec supervisor_logs.mkdir {} \; # make log directories
$ find . -name "*.ini" -exec supervisor_logs.clear {} \; # clear log files
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
File details
Details for the file supervisor-logs-2020.12.3.tar.gz
.
File metadata
- Download URL: supervisor-logs-2020.12.3.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccf12e4a05413e45c25a05be5536c709f3d05b908843c92b7cb3371a569906c6 |
|
MD5 | ad8689a2e0506f35fc77442875ec3e27 |
|
BLAKE2b-256 | d087dc4846d0b29d3ae0b96b539ae84c737e09fc692b557aff6596a36e27c0f2 |