Skip to content

Commit 7f85b13

Browse files
author
alexander popov
committed
added connections string to log
1 parent 32fdbc8 commit 7f85b13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mamonsu/plugins/pgsql/driver/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def _close(self):
7474
self.log.error('close error: {0}'.format(e))
7575

7676
def _connect(self):
77-
self.log.debug('connecting')
77+
self.log.info('connecting')
7878
host, unix_sock = self.host, None
7979
if host.startswith('/'):
8080
unix_sock, host = host, None
@@ -87,7 +87,7 @@ def _connect(self):
8787
database=self.db,
8888
application_name=self.appname
8989
)
90-
self.log.debug('connected')
90+
self.log.info('connected')
9191
self.conn.autocommit = True
9292
cur = self.conn.cursor()
9393
cur.execute('set statement_timeout to {0}'.format(self.timeout * 1000))

0 commit comments

Comments
 (0)