mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-18 08:02:31 -05:00
tweak log output
This commit is contained in:
@@ -92,7 +92,7 @@ def requires_auth():
|
|||||||
g.service_id = api_key.service_id
|
g.service_id = api_key.service_id
|
||||||
_request_ctx_stack.top.authenticated_service = service
|
_request_ctx_stack.top.authenticated_service = service
|
||||||
_request_ctx_stack.top.api_user = api_key
|
_request_ctx_stack.top.api_user = api_key
|
||||||
current_app.logger.info('Succesful login for service {} with api key {}, using client'.format(
|
current_app.logger.info('API authorised for service {} with api key {}, using client {}'.format(
|
||||||
service.id,
|
service.id,
|
||||||
api_key.id,
|
api_key.id,
|
||||||
request.headers.get('User-Agent')
|
request.headers.get('User-Agent')
|
||||||
|
|||||||
Reference in New Issue
Block a user