···11-diff --git a/imdb/parser/sql/__init__.py b/imdb/parser/sql/__init__.py
22-index cd4a3e3..3fcfdd4 100644
33---- a/imdb/parser/sql/__init__.py
44-+++ b/imdb/parser/sql/__init__.py
55-@@ -557,7 +557,6 @@ class IMDbSqlAccessSystem(IMDbBase):
66- """The class used to access IMDb's data through a SQL database."""
77-88- accessSystem = 'sql'
99-- _sql_logger = logging.getLogger('imdbpy.parser.sql')
1010-1111- def __init__(self, uri, adultSearch=True, *arguments, **keywords):
1212- """Initialize the access system."""
1313-@@ -582,7 +581,7 @@ class IMDbSqlAccessSystem(IMDbBase):
1414- except ImportError as e:
1515- raise IMDbError('unable to import SQLAlchemy')
1616- # Set the connection to the database.
1717-- self._sql_logger.debug('connecting to %s', uri)
1818-+ logger.debug('connecting to %s', uri)
1919- try:
2020- self._connection = setConnection(uri, DB_TABLES)
2121- except AssertionError as e:
2222-@@ -593,7 +592,7 @@ class IMDbSqlAccessSystem(IMDbBase):
2323- # Maps some IDs to the corresponding strings.
2424- self._kind = {}
2525- self._kindRev = {}
2626-- self._sql_logger.debug('reading constants from the database')
2727-+ logger.debug('reading constants from the database')
2828- try:
2929- for kt in KindType.select():
3030- self._kind[kt.id] = kt.kind
3131-@@ -1616,7 +1615,7 @@ class IMDbSqlAccessSystem(IMDbBase):
3232- return
3333- if not hasattr(self, '_connection'):
3434- return
3535-- self._sql_logger.debug('closing connection to the database')
3636-+ logger.debug('closing connection to the database')
3737- try:
3838- self._connection.close()
3939- except: