Commit 28031cee authored by Vincent Pelletier's avatar Vincent Pelletier

Also lower thread creation/stopping mog levels, following r2401.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2402 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 097034b7
...@@ -125,7 +125,7 @@ class Application(object): ...@@ -125,7 +125,7 @@ class Application(object):
# Start polling thread # Start polling thread
self.em = EventManager() self.em = EventManager()
self.poll_thread = ThreadedPoll(self.em, name=name) self.poll_thread = ThreadedPoll(self.em, name=name)
neo.logging.info('Started %s', self.poll_thread) neo.logging.debug('Started %s', self.poll_thread)
psThreadedPoll() psThreadedPoll()
# Internal Attributes common to all thread # Internal Attributes common to all thread
self._db = None self._db = None
...@@ -1202,7 +1202,7 @@ class Application(object): ...@@ -1202,7 +1202,7 @@ class Application(object):
for conn in self.em.getConnectionList(): for conn in self.em.getConnectionList():
conn.close() conn.close()
# Stop polling thread # Stop polling thread
neo.logging.info('Stopping %s', self.poll_thread) neo.logging.debug('Stopping %s', self.poll_thread)
self.poll_thread.stop() self.poll_thread.stop()
psThreadedPoll() psThreadedPoll()
close = __del__ close = __del__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment