diff --git a/packages/nonebot-adapter-feishu/nonebot/adapters/feishu/__init__.py b/packages/nonebot-adapter-feishu/nonebot/adapters/feishu/__init__.py index 532b2d9c..44e2cadf 100644 --- a/packages/nonebot-adapter-feishu/nonebot/adapters/feishu/__init__.py +++ b/packages/nonebot-adapter-feishu/nonebot/adapters/feishu/__init__.py @@ -1,3 +1,12 @@ +import logging + +from nonebot.log import LoguruHandler, logger + +aiocache_logger = logging.getLogger("aiocache.serializers.serializers") +aiocache_logger.setLevel(logging.DEBUG) +aiocache_logger.handlers.clear() +aiocache_logger.addHandler(LoguruHandler()) + from .bot import Bot from .event import * from .event import Event