Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python logging handler for Fluentd

Project description

Python logging handler for Fluentd

Requirements(Python Package)

  • fluent-logger

Installation

pip install fluentd_log_handler

Example

import logging
from fluentd_log_handler.handler import NeilFluentdHandler

handler = NeilFluentdHandler(tag='app.worker')

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

logger.error({'message': {'task': '금융정보조회', 'company_id': 123}})

Project details


Download files

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

Files for fluentd-log-handler, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size fluentd-log-handler-0.0.7.tar.gz (1.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page