diff --git a/nonebot/log.py b/nonebot/log.py
index 854b4b78..3f6d1e1a 100644
--- a/nonebot/log.py
+++ b/nonebot/log.py
@@ -77,8 +77,8 @@ default_format = (
"{name} | "
# "{function}:{line}| "
"{message}")
-logger.add(sys.stdout,
- colorize=True,
- diagnose=False,
- filter=default_filter,
- format=default_format)
+logger_id = logger.add(sys.stdout,
+ colorize=True,
+ diagnose=False,
+ filter=default_filter,
+ format=default_format)