gelfHandler
gelfHandler is a basic logging handler for sending to a graylog2 instance via UDP or TCP
Basic usage
Usage is pretty much like any handler:
from gelfHandler import GelfHandler
gHandler = GelfHandler(
host='mylogserver.example.com',
port=12202,
protocol='UDP'
)
logger.addHandler(gHandler)
Support for additional fields is available if you send a dict using the extra keyword that begins with gelfProps:
logger.warn('DANGER DANGER',extra={'gelf_props':{'name':'W. Robinsson', 'planet':'unknown'}})
More info can be found on the github page.
Metadata
Release files for gelfHandler 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gelfHandler-1.0.0.tar.gz | 2.6 kB | Without provenance | Details for gelfHandler-1.0.0.tar.gz |
Release files / gelfHandler-1.0.0.tar.gz
| Download URL | gelfHandler-1.0.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1990a9cffd651f2419bc94232a7e55ecc5069e19db5b458ace914d255a4ebfcb
|
|
BLAKE2b-256 checksum How to use checksums |
f67808add6a1b1fe924e0e3b72ce7b8a48e1dcd558b3fc23f6c9a13e5b81b176
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for gelfHandler 1.0.0
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.