Skip to content

An unexpected keyword argument 'nanosecond_precision' #194

Open
@robinwkurtz

Description

@robinwkurtz

Hello! I am running into a type error when using the nanosecond_precision argument on FluentSender

        self.logger = sender.FluentSender(
            _TOP_LEVEL_FLUTEND_TAG,
            host=os.getenv('FLUTEND_HOST', '0.0.0.0'),
            port=os.getenv('FLUENTD_PORT', 24224),
            nanosecond_precision=True # TODO: This currently throws an error 
        )
TypeError: __init__() got an unexpected keyword argument 'nanosecond_precision'

Python 3.9.15

[[package]]
name = "fluent-logger"
version = "0.10.0"
description = "A Python logging handler for Fluentd event collector"
category = "main"
optional = false
python-versions = ">=3.5"

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions