OracleDB: add INFO log message on server connection
This commit is contained in:
parent
4691ba7386
commit
5acbdbe8e3
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ class OracleDB:
|
|||
def connect(self):
|
||||
""" Connect to Oracle server """
|
||||
if self._conn is None:
|
||||
log.info('Connect on Oracle server with DSN %s as %s', self._dsn, self._user)
|
||||
try:
|
||||
self._conn = cx_Oracle.connect(
|
||||
user=self._user,
|
||||
|
|
Loading…
Reference in a new issue