Also use debug log level for creating new client message.
@@ -309,7 +309,7 @@ class ActionDatastoreService(BaseDatastoreService):
Retrieve API client instance.
"""
if not self._client:
- self._logger.audit('Creating new Client object.')
+ self._logger.debug('Creating new Client object.')
api_url = get_full_public_api_url()
client = Client(api_url=api_url, token=self._auth_token)
@@ -343,7 +343,7 @@ class SensorDatastoreService(BaseDatastoreService):
if not self._client or token_expire:
# Note: Late import to avoid high import cost (time wise)
from st2common.services.access import create_token
- self._logger.audit('Creating new Client object.')
+ self._logger.debug('Creating new Client object.')
ttl = cfg.CONF.auth.service_token_ttl
api_url = get_full_public_api_url()
