summaryrefslogtreecommitdiff
path: root/asyncio/events.py
diff options
context:
space:
mode:
Diffstat (limited to 'asyncio/events.py')
-rw-r--r--asyncio/events.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/asyncio/events.py b/asyncio/events.py
index 9724615..6ca5668 100644
--- a/asyncio/events.py
+++ b/asyncio/events.py
@@ -12,7 +12,7 @@ import sys
import threading
import socket
-from .log import asyncio_log
+from .log import logger
class Handle:
@@ -36,8 +36,8 @@ class Handle:
try:
self._callback(*self._args)
except Exception:
- asyncio_log.exception('Exception in callback %s %r',
- self._callback, self._args)
+ logger.exception('Exception in callback %s %r',
+ self._callback, self._args)
self = None # Needed to break cycles when an exception occurs.