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

Meinheld doesn't "log" to Statsd under Gunicorn #93

Open
skion opened this issue Dec 8, 2017 · 2 comments
Open

Meinheld doesn't "log" to Statsd under Gunicorn #93

skion opened this issue Dec 8, 2017 · 2 comments

Comments

@skion
Copy link

skion commented Dec 8, 2017

The Meinheld Gunicorn worker does not appear to call the log.access() method of the Statsd logger correctly when --statsd-host is enabled. This results in no request stats to be emitted.

@skion
Copy link
Author

skion commented Dec 8, 2017

Figured out that the worker doesn't enable access logging when the --access-logfile option isn't given (whereas with other workers Statsd still works in that case). But with that option I see the following error:

TypeError: access() missing 3 required positional arguments: 'req', 'environ', and 'request_time'

@Adam-Leyshon
Copy link

I'm also seeing this, it looks like this project is winding down and has little activity anymore.
I'll see if I can find sometime to fix this and make a patch.

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