Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An unexpected keyword argument 'nanosecond_precision' #194

Open
robinwkurtz opened this issue Feb 2, 2023 · 0 comments
Open

An unexpected keyword argument 'nanosecond_precision' #194

robinwkurtz opened this issue Feb 2, 2023 · 0 comments

Comments

@robinwkurtz
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant