Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add logger for server #579

Merged
merged 4 commits into from
Aug 30, 2023
Merged

add logger for server #579

merged 4 commits into from
Aug 30, 2023

Conversation

mercury233
Copy link
Contributor

原有的console.log方式默认记录信息过多,自建服务时日志容易被撑爆
我仅测试了self-hosted部分,没有测试vercel等部分

@imaegoo
Copy link
Member

imaegoo commented Aug 30, 2023

有几条 log 使用 debug 级别不合适,比如不发送邮件通知的原因,改为 info 更利于排查问题。

先合并了我再改吧。

@imaegoo imaegoo merged commit f653a8b into twikoojs:main Aug 30, 2023
@mercury233 mercury233 deleted the patch-logger branch August 30, 2023 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants