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

Mars-Xlog 单日单文件存放内容的最大大小为多少? #1300

Open
weizhizhanghao opened this issue Aug 9, 2024 · 2 comments
Open

Comments

@weizhizhanghao
Copy link

com.tencent.mars:mars-xlog:1.2.3 版本,设置每天只存放一个文件,但是文件内容大小压缩后都超过10M了,想问下,mars-xlog 本地设置的可最大存放内容为多少呀?同一天存放多个文件可设置单个文件的最大大小,那只存放同一个文件,内容大小限制为多少呢?

@weizhizhanghao
Copy link
Author

如果只调用了 Builder,没调用 appendClose, 会对存放文件有什么影响?

@zhanlan123
Copy link

setMaxFileSize,这个方法设置单个文件最大存放大小。不调用appendClose,可能会存在文件内容缺失。

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

No branches or pull requests

2 participants