From 9216e259707d1ad94e860ce31e6b9a7c048e8352 Mon Sep 17 00:00:00 2001 From: ikethecoder Date: Thu, 24 Nov 2022 14:32:36 -0800 Subject: [PATCH] upd activity logging --- microservices/gatewayApi/clients/portal.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/microservices/gatewayApi/clients/portal.py b/microservices/gatewayApi/clients/portal.py index 6a306f0..0cd9886 100644 --- a/microservices/gatewayApi/clients/portal.py +++ b/microservices/gatewayApi/clients/portal.py @@ -47,10 +47,12 @@ def record_gateway_event(event_id, action, result, namespace, message="", blob=" 'refId': '', 'namespace': namespace, 'context': { - 'message': 'GatewayConfig Update {result} : {message}', + 'message': 'GatewayConfig {action} {result} : {message}', 'result': result, - 'message': message - } + 'message': message, + 'action': action + }, + 'filterKey1': 'namespace:%s' % namespace } if not blob == "" and not blob == None: