diff options
Diffstat (limited to 'src/vpp-api')
-rw-r--r-- | src/vpp-api/python/vpp_papi/vpp_papi.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/vpp-api/python/vpp_papi/vpp_papi.py b/src/vpp-api/python/vpp_papi/vpp_papi.py index 63fcc70e395..6ba7d648bdb 100644 --- a/src/vpp-api/python/vpp_papi/vpp_papi.py +++ b/src/vpp-api/python/vpp_papi/vpp_papi.py @@ -665,7 +665,10 @@ class VPPApiClient(object): self.transport.resume() - self.logger.debug('Return from {!r}'.format(r)) + s = 'Return value: {!r}'.format(r) + if len(s) > 80: + s = s[:80] + "..." + self.logger.debug(s) return rl def _call_vpp_async(self, i, msg, **kwargs): |