-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
请问,怎样关闭公众号事件推送的日志? #3002
Labels
resolved
已解决
Comments
如果你用的是 MVC 或者可视化的 API 入口,可以去掉这个手动添加的日志代码: 如果你用的是中间件,可以通过配置关闭(注意 Request 和 Response 有独立的开关): |
感谢回复 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
我在生产环境中,发现"\App_Data\WeChat_OfficialAccount{日期}"中保存了大量事件日志,我们不希望保存太多公众号事件推送的日志(例如关注、用户发送文字),请问是怎样开关?
应用程序中,已把
Senparc.Weixin.Config.IsDebug = false;
并且在appsettings.json中,两个IsDebug都已经是false了。
重现问题步骤(如果可以)
微信官方文档 URL
微信官方文档快照(直接复制关键内容到下方)
发现问题的模块
- [ ] Senparc.Weixin.QY 版本:模块对应的 .net 版本
开发环境
缓存环境
系统环境
联系方式
Email:
(也可将问题地址及联系方式发送到 zsu@senparc.com)
The text was updated successfully, but these errors were encountered: