Skip to content
Sections
>> Trisquel >> Пакети >> etiona >> python >> python3-graypy
etiona  ] [  nabia  ] [  aramo  ]
[ Източник: graypy  ]

Пакет: python3-graypy (0.2.14-1)

Python logging handler that sends messages in GELF (Python 3)

This package can be used to sent messages to Graylog2 using a custom handler for the builtin logging library in the Graylog Extended Log Format (GELF).

Alternately, GELFRabbitHandler can be used to send messages to RabbitMQ. Your Graylog2 server needs to be configured to consume messages via AMQP then. This prevents log messages from being lost due to dropped UDP packets (GELFHandler sends messages to Graylog2 using UDP). You will need to configure RabbitMQ with a 'gelf_log' queue and bind it to the 'logging.gelf' exchange so messages are properly routed to a queue that can be consumed by Graylog2 (the queue and exchange names may be customized to your liking).

graypy can be easily integrated into Django's logging settings.

This is the Python 3 version of the package.

Други пакети, свързани с python3-graypy

  • зависимости
  • препоръчани
  • предложени
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • sug: python3-amqplib
    simple non-threaded Python AMQP client library (Python3 version)

Изтегляне на python3-graypy

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 10,3 кБ43 кБ [списък на файловете]