# HG changeset patch # User Sylvain Thénault # Date 1254319564 -7200 # Node ID efeb16ff93f3f9dbf11cdbcca09ef46f8a0f2435 # Parent dfb2ebb765e248faa1a8f6f382b1ccfaafc27af1 log when connecting to an external pyro source diff -r dfb2ebb765e2 -r efeb16ff93f3 server/sources/pyrorql.py --- a/server/sources/pyrorql.py Wed Sep 30 16:05:43 2009 +0200 +++ b/server/sources/pyrorql.py Wed Sep 30 16:06:04 2009 +0200 @@ -218,6 +218,8 @@ """open and return a connection to the source""" nshost = self.config.get('pyro-ns-host') or self.repo.config['pyro-ns-host'] nsgroup = self.config.get('pyro-ns-group') or self.repo.config['pyro-ns-group'] + self.info('connecting to instance :%s.%s for user %s', + nsgroup, nshost, self.config['cubicweb-user']) #cnxprops = ConnectionProperties(cnxtype=self.config['cnx-type']) return dbapi.connect(database=self.config['pyro-ns-id'], login=self.config['cubicweb-user'],