##// END OF EJS Templates
http-proto: added some more logging.
marcink -
r745:9b5d377a default
parent child Browse files
Show More
@@ -361,8 +361,10 b' class HTTPApplication(object):'
361 call_args = ''
361 call_args = ''
362 else:
362 else:
363 call_args = args[1:]
363 call_args = args[1:]
364 log.debug('method called:%s with args:%s kwargs:%s context_uid: %s',
364
365 method, call_args, kwargs, context_uid)
365 repo_state_uid = wire.get('repo_state_uid') if wire else None
366 log.debug('method called:%s with args:%s kwargs:%s context_uid: %s, repo_state_uid:%s',
367 method, call_args, kwargs, context_uid, repo_state_uid)
366
368
367 try:
369 try:
368 resp = getattr(remote, method)(*args, **kwargs)
370 resp = getattr(remote, method)(*args, **kwargs)
@@ -60,6 +60,7 b' class RhodeCodeCacheRegion(CacheRegion):'
60
60
61 @functools.wraps(fn)
61 @functools.wraps(fn)
62 def creator():
62 def creator():
63 log.debug('Calling cached fn:%s', fn)
63 return fn(*arg, **kw)
64 return fn(*arg, **kw)
64
65
65 if not condition:
66 if not condition:
General Comments 0
You need to be logged in to leave comments. Login now