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

Undefined variable chunk_size in GraylogTcpHandler #80

Closed
drdivano opened this issue Sep 26, 2017 · 1 comment
Closed

Undefined variable chunk_size in GraylogTcpHandler #80

drdivano opened this issue Sep 26, 2017 · 1 comment

Comments

@drdivano
Copy link

BaseGELFHandler.__init__(self, host, port, chunk_size,

GraylogTcpHandler tries to pass chunk_size to the base class and fails with exception:

Traceback (most recent call last):
File "/srv/cms/cms/afl/wsgi.py", line 22, in
application = get_wsgi_application()
File "/srv/cms/cms-lib/django/core/wsgi.py", line 14, in get_wsgi_application
django.setup()
File "/srv/cms/cms-lib/django/init.py", line 20, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/srv/cms/cms-lib/django/utils/log.py", line 87, in configure_logging
logging_config_func(logging_settings)
File "/usr/lib/python2.7/logging/config.py", line 794, in dictConfig
dictConfigClass(config).configure()
File "/usr/lib/python2.7/logging/config.py", line 576, in configure
'%r: %s' % (name, e))
ValueError: Unable to configure handler 'graylog-gelf': global name 'chunk_size' is not defined

@tusharmakkar08
Copy link
Collaborator

Hey @drdivano

I think this was missed out. Will fix it asap.

Thanks.

tusharmakkar08 added a commit to tusharmakkar08/graypy that referenced this issue Sep 26, 2017
tusharmakkar08 added a commit to tusharmakkar08/graypy that referenced this issue Sep 26, 2017
tusharmakkar08 added a commit to tusharmakkar08/graypy that referenced this issue Sep 26, 2017
tusharmakkar08 added a commit to tusharmakkar08/graypy that referenced this issue Sep 26, 2017
tusharmakkar08 added a commit that referenced this issue Sep 26, 2017
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

2 participants