##// END OF EJS Templates
logging: skip large attribute expansion on archive_repo. We don't need arguments there
marcink -
r742:45bacab2 default
parent child Browse files
Show More
@@ -352,8 +352,17 b' class HTTPApplication(object):'
352 pass
352 pass
353 args.insert(0, wire)
353 args.insert(0, wire)
354
354
355 log.debug('method called:%s with args:%s kwargs:%s context_uid: %s',
355 # NOTE(marcink): trading complexity for slight performance
356 method, args[1:], kwargs, context_uid)
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 try:
367 try:
359 resp = getattr(remote, method)(*args, **kwargs)
368 resp = getattr(remote, method)(*args, **kwargs)
General Comments 0
You need to be logged in to leave comments. Login now