Skip to main content

logging-lib

Библиотека для логирования сервисов Твой ФФ!

Функционал

Форматирование логов в общий для всех бэкендов JSON-формат

pypi tg

Сценарий использования

  1. В requirements.txt добавьте logging-profcomff
  2. Скопируйте из /gunicorn_logging_examples обе конфигурации
  3. Вставьте их в корень проекта
  4. Добавьте в Dockerfile ARG CONF_FILE
  5. В Dockerfile добавьте GUNICORN_CMD_ARGS в качестве env переменной
  6. Пропишите туда "--log-config $CONF_FILE"
  7. В Actions в запуск добавьте(прод) --build-args: docker build --build-arg CONF_FILE=logging_prod.conf
  8. В Actions в запуск добавьте(тест) --build-args: docker build --build-arg CONF_FILE=logging_test.conf

Contributing

  • Основная информация по разработке наших приложений

  • Ссылка на страницу с информацией по разработке logging-lib

Metadata

Release files for logging-profcomff 2024.8.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for logging-profcomff 2024.8.4
File Size Uploaded Provenance Actions
logging_profcomff-2024.8.4.tar.gz 3.8 kB Without provenance Details for logging_profcomff-2024.8.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for logging-profcomff 2024.8.4
File Interpreter ABI Platform Actions
logging_profcomff-2024.8.4-py3-none-any.whl Python 3 none any Details for logging_profcomff-2024.8.4-py3-none-any.whl

Total release size: 8.1 kB

Release files / logging_profcomff-2024.8.4.tar.gz

Download URL logging_profcomff-2024.8.4.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fb73f779b3fb1e3012fda4a1481562ae6f4daddf2d83cb78c2646874429c5545
BLAKE2b-256 checksum
How to use checksums
be411703b5336fe2131fe175586a37d683be70e1057195c5addcfa86570d3c16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Release files / logging_profcomff-2024.8.4-py3-none-any.whl

Download URL logging_profcomff-2024.8.4-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
988d44d12edf05e693223d91fb5b6b354efe84237b8a70739e92a7484f71273a
BLAKE2b-256 checksum
How to use checksums
f60787bde36d813542e9d4c031c5e2763cde9e513abadbee11071d4ad0f43b86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.4

Security for logging-profcomff 2024.8.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page