summary refs log tree commit diff
path: root/synapse/util/__init__.py
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-07-05 02:32:02 +1000
committerGitHub <noreply@github.com>2019-07-05 02:32:02 +1000
commit1ee268d33d3e4eb40270eb169ca5266843481b41 (patch)
treeab804907d8a515b6430f4ccdb4e47e086ba1bc04 /synapse/util/__init__.py
parentAdd a sytest blacklist file (#5611) (diff)
downloadsynapse-1ee268d33d3e4eb40270eb169ca5266843481b41.tar.xz
Improve the backwards compatibility re-exports of synapse.logging.context (#5617)
* Improve the backwards compatibility re-exports of synapse.logging.context.

* reexport logformatter too
Diffstat (limited to 'synapse/util/__init__.py')
-rw-r--r--synapse/util/__init__.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/synapse/util/__init__.py b/synapse/util/__init__.py
index c6d2ce4404..f506b2a695 100644
--- a/synapse/util/__init__.py
+++ b/synapse/util/__init__.py
@@ -21,14 +21,10 @@ import attr
 
 from twisted.internet import defer, task
 
-from synapse.logging import context, formatter
+from synapse.logging import context
 
 logger = logging.getLogger(__name__)
 
-# Compatibility alias, for existing logconfigs.
-logcontext = context
-logformatter = formatter
-
 
 def unwrapFirstError(failure):
     # defer.gatherResults and DeferredLists wrap failures.