Show More
@@ -352,8 +352,17 b' class HTTPApplication(object):' | |||
|
352 | 352 | pass |
|
353 | 353 | args.insert(0, wire) |
|
354 | 354 | |
|
355 | log.debug('method called:%s with args:%s kwargs:%s context_uid: %s', | |
|
356 | method, args[1:], kwargs, context_uid) | |
|
355 | # NOTE(marcink): trading complexity for slight performance | |
|
356 | if log.isEnabledFor(logging.DEBUG): | |
|
357 | no_args_methods = [ | |
|
358 | 'archive_repo' | |
|
359 | ] | |
|
360 | if method in no_args_methods: | |
|
361 | call_args = '' | |
|
362 | else: | |
|
363 | call_args = args[1:] | |
|
364 | log.debug('method called:%s with args:%s kwargs:%s context_uid: %s', | |
|
365 | method, call_args, kwargs, context_uid) | |
|
357 | 366 | |
|
358 | 367 | try: |
|
359 | 368 | resp = getattr(remote, method)(*args, **kwargs) |
General Comments 0
You need to be logged in to leave comments.
Login now