OracleDB: add INFO log message on server connection

This commit is contained in:
Benjamin Renard 2021-11-18 19:56:07 +01:00
parent 4691ba7386
commit 5acbdbe8e3

View file

@ -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,