import logging


def _connect(engine):
    """
    Private method that actually makes the connection to resultsdb
    :param engine: Sqlalchemy engine object
    """
    logging.info('Making a connection attempt to resultsdb...')
    c = engine.connect()
    logging.info('Connection successful, proceeding...')
    return c