-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
建议加个选项取消掉部分日志记录 #442
Comments
已经有了。
…---原始邮件---
发件人: ***@***.***>
发送时间: 2025年1月27日(周一) 下午5:49
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: [docmirror/dev-sidecar] 建议增加定期清理日志功能 (Issue #442)
请详细描述你的问题、需求或建议:
image.png (view on web)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
现在已经有日志压缩和清理功能了,这个功能就不用了吧。 |
关键是有些网络不好的情况下它会在运行时增加到10G,直接把储存空间占满了
…________________________________
发件人: 王良 ***@***.***>
发送时间: Wednesday, February 5, 2025 11:38:18 AM
收件人: docmirror/dev-sidecar ***@***.***>
抄送: WisW ***@***.***>; State change ***@***.***>
主题: Re: [docmirror/dev-sidecar] 建议加个选项取消掉部分日志记录 (Issue #442)
现在已经有日志压缩和清理功能了,这个功能就不用了吧。
日志压缩比高达95%哦,10G都能被压缩成500MB
―
Reply to this email directly, view it on GitHub<#442 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ASUA3EBKWE6FNH63DB6ZBET2OGBSVAVCNFSM6AAAAABV5UV57WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMZVGYZTANJUGY>.
You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
嗯,那我看下,log4js应该有日志文件大小限制的配置的。达到最大值时,直接压缩备份掉,重新创建一个新的日志文件,应该可以。 |
Merged
https://github.com/wangliang181230/dev-sidecar/releases/tag/v2.0.0-RC4.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ⅰ. 请说明操作系统及DS的版本号:
Ⅱ. 问题描述:
server.log在一天内增加到7GB
Ⅲ. 期望的结果:
建议加个选项取消掉所有请求失败和部分info日志
Ⅳ. 如何复现问题?
1.打开软件 & 浏览器
2.等待
(可能是我的网络问题)
Ⅴ. 请提供相关的错误日志,尽可能的详细:(日志文件在
${user.home}/.dev-sidecar/logs/
目录下)点击查看日志
Ⅵ. 有必要时,请提供
${user.home}/.dev-sidecar/running.json
文件内容:点击查看运行参数
The text was updated successfully, but these errors were encountered: