GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - profcomff/logging-lib: Библиотека для логгирования сервисов Твой ФФ в формате JSON!

BranchesTags
Open more actions menu

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
gunicorn_logging_examples
gunicorn_logging_examples
 
 
logger
logger
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
setup.py
setup.py
 
 

Repository files navigation

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

About

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

pypi.org/project/logging-profcomff/

Topics

devtoolsjsonloggingpython3

Resources

Readme
BSD-2-Clause license

Contributing

Contributing
Activity
Custom properties

Stars

11 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.