diff --git a/vcsserver/http_main.py b/vcsserver/http_main.py --- a/vcsserver/http_main.py +++ b/vcsserver/http_main.py @@ -361,8 +361,10 @@ class HTTPApplication(object): call_args = '' else: call_args = args[1:] - log.debug('method called:%s with args:%s kwargs:%s context_uid: %s', - method, call_args, kwargs, context_uid) + + repo_state_uid = wire.get('repo_state_uid') if wire else None + log.debug('method called:%s with args:%s kwargs:%s context_uid: %s, repo_state_uid:%s', + method, call_args, kwargs, context_uid, repo_state_uid) try: resp = getattr(remote, method)(*args, **kwargs) diff --git a/vcsserver/lib/rc_cache/utils.py b/vcsserver/lib/rc_cache/utils.py --- a/vcsserver/lib/rc_cache/utils.py +++ b/vcsserver/lib/rc_cache/utils.py @@ -60,6 +60,7 @@ class RhodeCodeCacheRegion(CacheRegion): @functools.wraps(fn) def creator(): + log.debug('Calling cached fn:%s', fn) return fn(*arg, **kw) if not condition: