{"categories":[{"label":"Logging","url":"https://skillfed.io/packages/category/system-logging"}],"enrichment":{"capability":"Provides Python logging handlers that format and send log messages to Graylog servers in GELF (Graylog Extended Log Format) via UDP, TCP, TLS, HTTP, or RabbitMQ.","skillfed_tags":["graylog-integration","centralized-logging"],"use_cases":["Forward application logs from a Python service to a centralized Graylog server for aggregation and analysis.","Integrate Django application logging with Graylog by configuring GELFUDPHandler in Django's logging dictConfig.","Send logs via RabbitMQ instead of UDP to avoid packet loss in high-volume logging scenarios.","Add custom contextual fields (user ID, request ID, etc.) to logs using LoggerAdapter before forwarding to Graylog.","Capture and forward exception tracebacks to Graylog as full_message fields for debugging."],"what_it_does":"graypy is a Python logging handler library that bridges the standard logging module to Graylog servers by formatting log records in GELF and forwarding them over the network. It provides five handler classes\u2014GELFUDPHandler, GELFTCPHandler, GELFTLSHandler, GELFHTTPHandler, and GELFRabbitHandler\u2014each supporting a different transport mechanism. The library automatically includes debugging fields (function name, process ID, thread name) in logs and supports custom fields via LoggerAdapter or Filter classes. It also handles exception tracebacks and GELF UDP message chunking with configurable overflow behavior.\n\nThe package has no runtime dependencies for basic UDP/TCP/HTTP use, making it lightweight to install. Optional AMQP support for RabbitMQ-based log forwarding requires the amqp extra. However, the project is dormant\u2014the last release was in September 2019 and the last repository commit in October 2023\u2014so it receives no active maintenance and may not work reliably with recent Graylog or Python versions.","worth_installing":"Yes, if you have a stable, older Graylog deployment and do not need active maintenance. The package is simple, dependency-free for basic use, and permissively licensed. No, if you require support for recent Python versions, current Graylog API changes, or active bug fixes\u2014the dormant status since 2019 means you are on your own for compatibility issues."},"id":"graypy","links":{"html":"https://skillfed.io/packages/graypy","md":"https://skillfed.io/packages/graypy.md","pypi":"https://pypi.org/project/graypy/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2019-09-30","license_spdx":null,"license_treatment":"permissive","name":"graypy","python_support":"unspecified","summary":"Python logging handlers that send messages in the Graylog Extended Log Format (GELF)."},"popularity":{"monthly_downloads":561493,"position":5994,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.0"}
