From aa81b7ed64056e3a9abe67721589b644895701bb Mon Sep 17 00:00:00 2001 From: ikethecoder Date: Thu, 24 Nov 2022 14:33:26 -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 0cd9886..3b92558 100644 --- a/microservices/gatewayApi/clients/portal.py +++ b/microservices/gatewayApi/clients/portal.py @@ -48,9 +48,11 @@ def record_gateway_event(event_id, action, result, namespace, message="", blob=" 'namespace': namespace, 'context': { 'message': 'GatewayConfig {action} {result} : {message}', - 'result': result, - 'message': message, - 'action': action + 'params': { + 'result': result, + 'message': message, + 'action': action + } }, 'filterKey1': 'namespace:%s' % namespace }