'Attempt to create hook with airflow[gcp_api].'

def __init__(self):

    remote_conn_id = configuration.get(u'core', u'REMOTE_LOG_CONN_ID')
    self.hook = None
    try:
        from airflow.contrib.hooks.gcs_hook import GoogleCloudStorageHook
        self.hook = GoogleCloudStorageHook(google_cloud_storage_conn_id=remote_conn_id)
    except:
        logging.error(u'Could    not    create    a    GoogleCloudStorageHook    with    connection    id    "{}".    Please    make    sure    that    airflow[gcp_api]    is    installed    and    the    GCS    connection    exists.'.format(remote_conn_id))
