[FIX] Add the platform lib

[IMP] Log when the Long Polling Service is running

bzr revid: stw@openerp.com-20130909131024-23an5cvt1qaa90su
This commit is contained in:
Stephane Wirtel 2013-09-09 15:10:24 +02:00
parent 025616ee14
commit 093dec2ab0
1 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@ import time
import traceback
import subprocess
import os.path
import platform
import wsgi_server
@ -245,6 +246,7 @@ class GeventServer(CommonServer):
from gevent.wsgi import WSGIServer
gevent.spawn(self.watch_parent)
self.httpd = WSGIServer((self.interface, self.port), self.app)
_logger.info('Evented Service (longpolling) running on %s:%s', self.interface, self.port)
self.httpd.serve_forever()
def stop(self):