From 84179743a6717fbd78d8bb798992afe5d01a7abd Mon Sep 17 00:00:00 2001 From: Maxime Alves LIRMM Date: Wed, 2 Mar 2022 16:46:32 +0100 Subject: [PATCH] [release] 0.6.9 --- CHANGELOG.md | 4 ++++ halfapi/__init__.py | 2 +- halfapi/lib/acl.py | 2 -- halfapi/lib/routes.py | 1 - 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58e28fc..46b17c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # HalfAPI +## 0.6.9 + +- Hide data fields in args_check logs + ## 0.6.8 - Fix testing lib for domains (add default secret and debug option) diff --git a/halfapi/__init__.py b/halfapi/__init__.py index 216ca7b..7b9c484 100644 --- a/halfapi/__init__.py +++ b/halfapi/__init__.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -__version__ = '0.6.8' +__version__ = '0.6.9' def version(): return f'HalfAPI version:{__version__}' diff --git a/halfapi/lib/acl.py b/halfapi/lib/acl.py index 0976212..08a124c 100644 --- a/halfapi/lib/acl.py +++ b/halfapi/lib/acl.py @@ -94,8 +94,6 @@ def args_check(fct): kwargs['data'] = data - logger.debug('args_check %s:%s %s %s', fct.__module__, fct.__name__, args, kwargs) - return await fct(req, *args, **kwargs) return caller diff --git a/halfapi/lib/routes.py b/halfapi/lib/routes.py index bfe0d00..f1f3b03 100644 --- a/halfapi/lib/routes.py +++ b/halfapi/lib/routes.py @@ -43,7 +43,6 @@ def JSONRoute(data: Any) -> Coroutine: async function """ async def wrapped(request, *args, **kwargs): - logger.debug('JSONRoute data: %s', data) return ORJSONResponse(data) return wrapped