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

fastdfs 4.02做了rotate设置,但是没有效果 #70

Open
GoogleCodeExporter opened this issue Jul 10, 2015 · 0 comments
Open

fastdfs 4.02做了rotate设置,但是没有效果 #70

GoogleCodeExporter opened this issue Jul 10, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link


storage.conf配置如下:
rotate_access_log = true
access_log_rotate_time=00:00
rotate_error_log = true
error_log_rotate_time=02:00
rotate_access_log_size = 0
rotate_error_log_size = 0
但是日志文件竟然还是一直在增大,每天晚上没有进行rotate
[root@dcb-srv-0837 /opt/fdfs/storage/logs]#ll -h
total 623M
-rw-r--r-- 1 deploy deploy    0 Jul 24 11:41 storage_access.log
-rw-r--r-- 1 deploy deploy 623M Jul 31 11:04 storaged.log

另外这台机器是新加入组的,数据还在同步中,同步了5天了�
��5天里日志一直没有被切割
现在文件还在同步过程中,会不会与这个有关?和组中的老��
�器设置是一样的,老机器的日志都会被切割

Original issue reported on code.google.com by fujiawei...@gmail.com on 31 Jul 2014 at 3:18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant