diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-07-05 02:32:02 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-05 02:32:02 +1000 |
commit | 1ee268d33d3e4eb40270eb169ca5266843481b41 (patch) | |
tree | ab804907d8a515b6430f4ccdb4e47e086ba1bc04 /synapse/util/__init__.py | |
parent | Add a sytest blacklist file (#5611) (diff) | |
download | synapse-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__.py | 6 |
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. |