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