Put the pid at the beginning of this logline.

This commit is contained in:
donovan
2008-05-20 15:54:07 -07:00
parent 726879d73e
commit ec139e201d
2 changed files with 10 additions and 2 deletions

View File

@@ -330,7 +330,7 @@ def server(sock, site, log=None, environ=None, max_size=None, max_http_version=D
max_size = DEFAULT_MAX_SIMULTANEOUS_REQUESTS
pool = coros.CoroutinePool(max_size=max_size)
try:
print os.getpid(), "wsgi starting up on", sock.getsockname()
print "(%s) wsgi starting up on %s" % (os.getpid(), sock.getsockname())
while True:
try:
pool.execute_async(lambda: serv.process_request(sock.accept()))

View File

@@ -1,6 +1,8 @@
#!/usr/bin/env python
from setuptools import setup, find_packages
from setuptools import Extension, find_packages, setup
setup(
name='eventlet',
@@ -26,3 +28,9 @@ setup(
"Development Status :: 4 - Beta"]
)
setup(name="sendmsg",
version="1.0",
ext_modules=[Extension("sendmsg", ["src/sendmsg.c"])])