diff options
author | Mark Haines <mark.haines@matrix.org> | 2014-10-30 01:21:33 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2014-10-30 01:21:33 +0000 |
commit | b29517bd013b82302b1a73072da8bfc39564dc1a (patch) | |
tree | 363ac928a18f2432b6d53c27dde2f2efb34b16a8 /synapse/util/logutils.py | |
parent | fix mobile CSS layout (diff) | |
download | synapse-b29517bd013b82302b1a73072da8bfc39564dc1a.tar.xz |
Add a request-id to each log line
Diffstat (limited to '')
-rw-r--r-- | synapse/util/logutils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/util/logutils.py b/synapse/util/logutils.py index fadf0bd510..903a6cf1b3 100644 --- a/synapse/util/logutils.py +++ b/synapse/util/logutils.py @@ -75,6 +75,7 @@ def trace_function(f): linenum = f.func_code.co_firstlineno pathname = f.func_code.co_filename + @wraps(f) def wrapped(*args, **kwargs): name = f.__module__ logger = logging.getLogger(name) |