mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
It gives users the option to send Patroni application logs to a File instead of Standard Out. There are three environment variables that can be set to enable and configure file logging. 1. `PATRONI_FILE_LOG_DIR`: Path to a directory that is writeable by the executing user. Having this variable set is what activates file logging. 2. `PATRONI_FILE_LOG_NUM`: This is a rolling file logger. This variable dictates how many log files are retained. 3. `PATRONI_FILE_LOG_SIZE`: This variable dictates the size at which the logs will roll. If `PATRONI_FILE_LOG_DIR` is not set than Patroni will log to stderr (default behavior does not change) Closes https://github.com/zalando/patroni/issues/902
57 lines
535 B
Plaintext
57 lines
535 B
Plaintext
*.py[cod]
|
|
|
|
# vi(m) swap files:
|
|
*.sw?
|
|
|
|
# C extensions
|
|
*.so
|
|
|
|
# Packages
|
|
.cache/
|
|
*.egg
|
|
*.eggs
|
|
*.egg-info
|
|
dist
|
|
build
|
|
eggs
|
|
parts
|
|
bin
|
|
var
|
|
sdist
|
|
develop-eggs
|
|
.installed.cfg
|
|
lib
|
|
lib64
|
|
|
|
# Installer logs
|
|
pip-log.txt
|
|
|
|
# Unit test / coverage reports
|
|
.coverage
|
|
.tox
|
|
nosetests.xml
|
|
coverage.xml
|
|
htmlcov
|
|
junit.xml
|
|
features/output
|
|
dummy
|
|
|
|
# Translations
|
|
*.mo
|
|
|
|
# Mr Developer
|
|
.mr.developer.cfg
|
|
.project
|
|
.pydevproject
|
|
|
|
pgpass
|
|
scm-source.json
|
|
|
|
# Sphinx-generated documentation
|
|
docs/build/
|
|
docs/source/_static/
|
|
docs/source/_templates/
|
|
|
|
# Pycharm IDE
|
|
.idea/
|