Skip to main content

Python logging handler for Fluentd

Project description

# Fluentd Log Handler

Python logging handler for Fluentd

## Requirements(Python Package)

- fluent-logger

## Installation

```bash
pip install fluentd_log_handler
```

## Example

```python
import logging
from fluentd_log_handler.handler import NeilFluentdHandler

handler = NeilFluentdHandler(tag='app.worker', task_name='국민연금고지액조회')

logger = logging.getLogger('neil')
logger.addHandler(handler)

logger.error('에러 발생')
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fluentd-log-handler-0.0.2.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file fluentd-log-handler-0.0.2.tar.gz.

File metadata

  • Download URL: fluentd-log-handler-0.0.2.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.5

File hashes

Hashes for fluentd-log-handler-0.0.2.tar.gz
Algorithm Hash digest
SHA256 24befc84b73b7111e57d8682b9b63db3aeaf75fdf3f2678d0dc0a71eec5afc8d
MD5 749939f1765a343ddeeda4c38d6d8008
BLAKE2b-256 9a02dcdcf7d1ec400fd3ef6bdeeeec79e45153180e55fec12e0a9a42c5667adf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page