XLog not support max logFileSize in storage
tianxiake opened this issue · 3 comments
tianxiake commented
if I want write logFile max size is 10M,xLog don't support this? It is my looking in the wrong!
elvishew commented
Use a FileSizeBackupStrategy2
, which will limit each log file to specific size.
xLog write log in append
mode, not in rolling
mode.
tianxiake commented
In my case,I want all log file max size in 10M,
elvishew commented
In my case,I want all log file max size in 10M,
So you can new FileSizeBackupStrategy2(10*1024*1024)
, is it not what you want?
Any further question, you can add QQ group(in readme_zh.md) to ask for help.