diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2020-12-02 17:43:59 -0500 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2020-12-03 14:00:05 +0000 |
commit | 5395c6a07996b9d852ce1e942bd2b3c094b89d27 (patch) | |
tree | 44fe74825728a23d1ac8ff41abdbef8cf910d0c7 /src/vpp-api/python/vpp_papi/vpp_serializer.py | |
parent | 18a71d8af56f4a70c9257608eb6e71b9cdc9f2ae (diff) |
papi: allow client control over loggers
This change enables a client to set debug levels
globally as well as individually.
exposes loggers as
vpp_papi
vpp_papi.serializer
vpp_papi.transport
Type: improvement
Change-Id: Ib6bd1a1f552b51a22c9fe3de819a5fb970963ae5
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vpp-api/python/vpp_papi/vpp_serializer.py')
-rw-r--r-- | src/vpp-api/python/vpp_papi/vpp_serializer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/python/vpp_papi/vpp_serializer.py b/src/vpp-api/python/vpp_papi/vpp_serializer.py index f46f207300f..d31a0bbc95e 100644 --- a/src/vpp-api/python/vpp_papi/vpp_serializer.py +++ b/src/vpp-api/python/vpp_papi/vpp_serializer.py @@ -27,7 +27,7 @@ from . import vpp_format # logger = logging.getLogger('vpp_serializer') # logger.setLevel(logging.DEBUG) # -logger = logging.getLogger(__name__) +logger = logging.getLogger('vpp_papi.serializer') if sys.version[0] == '2': def check(d): type(d) is dict |