[server] Move "starting repository..." message where this actually happens
authorDenis Laxalde <denis.laxalde@logilab.fr>
Thu, 23 Feb 2017 17:36:11 +0100
changeset 11977 6eb79532af12
parent 11976 978a5773c4c3
child 11978 9d27e426adc2
[server] Move "starting repository..." message where this actually happens
cubicweb/server/repository.py
--- a/cubicweb/server/repository.py	Thu Feb 23 17:34:37 2017 +0100
+++ b/cubicweb/server/repository.py	Thu Feb 23 17:36:11 2017 +0100
@@ -220,7 +220,6 @@
         self._tasks_manager = tasks_manager
 
         self.app_instances_bus = NullEventBus()
-        self.info('starting repository from %s', self.config.apphome)
         # dictionary of opened sessions
         self._sessions = {}
 
@@ -259,6 +258,7 @@
 
     def init_cnxset_pool(self):
         """should be called bootstrap_repository, as this is what it does"""
+        self.info('starting repository from %s', self.config.apphome)
         config = self.config
         # copy pool size here since config.init_cube() and config.load_schema()
         # reload configuration from file and could reset a manually set pool