mirror of
https://github.com/element-hq/synapse
synced 2024-09-12 08:15:11 +00:00
Add missing logger
This commit is contained in:
parent
168491c412
commit
94ae1dea3c
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
import logging
|
||||||
import threading
|
import threading
|
||||||
|
|
||||||
import six
|
import six
|
||||||
|
@ -23,6 +24,9 @@ from twisted.internet import defer
|
||||||
|
|
||||||
from synapse.util.logcontext import LoggingContext, PreserveLoggingContext
|
from synapse.util.logcontext import LoggingContext, PreserveLoggingContext
|
||||||
|
|
||||||
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
_background_process_start_count = Counter(
|
_background_process_start_count = Counter(
|
||||||
"synapse_background_process_start_count",
|
"synapse_background_process_start_count",
|
||||||
"Number of background processes started",
|
"Number of background processes started",
|
||||||
|
|
Loading…
Reference in a new issue