[dataimport] rename logger from dataio.massiveimport to dataimport.massive_store
authorJulien Cristau <julien.cristau@logilab.fr>
Mon, 09 Nov 2015 15:55:45 +0100
changeset 10877 a6a9a8fc94c3
parent 10876 11a9b2fb83d0
child 10878 fda5e42037a9
[dataimport] rename logger from dataio.massiveimport to dataimport.massive_store
dataimport/massive_store.py
--- a/dataimport/massive_store.py	Mon Nov 09 15:52:26 2015 +0100
+++ b/dataimport/massive_store.py	Mon Nov 09 15:55:45 2015 +0100
@@ -97,7 +97,7 @@
         - cnx: CubicWeb cnx
         """
         super(MassiveObjectStore, self).__init__(cnx)
-        self.logger = logging.getLogger('dataio.relationmixin')
+        self.logger = logging.getLogger('dataimport.massive_store')
         self._cnx = cnx
         self.sql = cnx.system_sql
         self._data_uri_relations = defaultdict(list)
@@ -108,7 +108,6 @@
                              'rtypes': set(),
                             }
         self.sql = self._cnx.system_sql
-        self.logger = logging.getLogger('dataio.massiveimport')
         self.slave_mode = slave_mode
         self.size_constraints = get_size_constraints(cnx.vreg.schema)
         self.default_values = get_default_values(cnx.vreg.schema)