Skip to content
This repository has been archived by the owner on Jan 24, 2023. It is now read-only.

更新后控制台会一直输出信息 received event #32

Closed
OriginElysia opened this issue Apr 2, 2022 · 4 comments
Closed

更新后控制台会一直输出信息 received event #32

OriginElysia opened this issue Apr 2, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@OriginElysia
Copy link

2022-04-02 17:22:39 INFO received event: meta_event.lifecycle.connect
2022-04-02 17:22:39 INFO received event: meta_event.heartbeat
[2022-04-02 17:22:39,260] INFO in init: received event: meta_event.lifecycle.connect

后台会无限重复下列信息
[2022-04-02 17:22:39,261] INFO in init: received event: meta_event.heartbeat
2022-04-02 17:22:44 INFO received event: meta_event.heartbeat
[2022-04-02 17:22:44,234] INFO in init: received event: meta_event.heartbeat
2022-04-02 17:22:49 INFO received event: meta_event.heartbeat
[2022-04-02 17:22:49,233] INFO in init: received event: meta_event.heartbeat

@chingkingm
Copy link
Owner

chingkingm commented Apr 2, 2022

心跳信息,刷屏确实挺烦,但跟插件没啥关系,上游的nonebot/aiocqhttp的问题,参考nonebot/nonebot#264 试试吧

控制变量测了一下,确实是插件的问题,我看一看

@chingkingm chingkingm added the bug Something isn't working label Apr 2, 2022
@chingkingm
Copy link
Owner

logging模块不太熟,没什么好办法。可以手动注释掉genshinhelper库.utils的23-26行

logging.basicConfig(
    level=logging.INFO,
    format='%(asctime)s %(levelname)s %(message)s',
    datefmt='%Y-%m-%d %H:%M:%S')

@doiss
Copy link

doiss commented Apr 7, 2022

这行注释了有什么影响吗?

@chingkingm
Copy link
Owner

这行注释了有什么影响吗?

没有影响

@chingkingm chingkingm pinned this issue Apr 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants