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

Cut down logging messages in manage_workers #839

Merged
merged 3 commits into from Aug 5, 2014
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings

Always

Just for now

Viewing a subset of changes. View all

Restore number of workers in DEBUG log

  • Loading branch information...
alq666 committed Aug 4, 2014
commit 6cb67e49cabf0b4de4d0df3f1e4f57c06ee3c820
View
@@ -482,7 +482,7 @@ def manage_workers(self):
(pid, _) = workers.pop(0)
self.kill_worker(pid, signal.SIGTERM)
self.log.debug("",
self.log.debug("{0} workers".format(len(workers),
extra={ "metric": "gunicorn.workers",
"value": len(workers),
"mtype": "gauge"})
ProTip! Use n and p to navigate between commits in a pull request.