Yes, I can find ceph of rotate configure file in the directory of /etc/logrotate.d. Also, I find sth. Weird. drwxr-xr-x 2 root root 4.0K Dec 3 14:54 ./ drwxrwxr-x 19 root syslog 4.0K Dec 3 13:33 ../ -rw------- 1 root root 0 Dec 2 06:25 ceph.audit.log -rw------- 1 root root 85K Nov 25 09:17 ceph.audit.log.1.gz -rw------- 1 root root 228K Dec 3 16:00 ceph.log -rw------- 1 root root 28K Dec 3 06:23 ceph.log.1.gz -rw------- 1 root root 374K Dec 2 06:22 ceph.log.2.gz -rw-r--r-- 1 root root 4.3M Dec 3 16:01 ceph-mon.wkm01.log -rw-r--r-- 1 root root 561K Dec 3 06:25 ceph-mon.wkm01.log.1.gz -rw-r--r-- 1 root root 2.2M Dec 2 06:25 ceph-mon.wkm01.log.2.gz -rw-r--r-- 1 root root 0 Dec 2 06:25 ceph-osd.0.log -rw-r--r-- 1 root root 992 Dec 1 09:09 ceph-osd.0.log.1.gz -rw-r--r-- 1 root root 19K Dec 3 10:51 ceph-osd.2.log -rw-r--r-- 1 root root 2.3K Dec 2 10:50 ceph-osd.2.log.1.gz -rw-r--r-- 1 root root 27K Dec 1 10:31 ceph-osd.2.log.2.gz -rw-r--r-- 1 root root 13K Dec 3 10:23 ceph-osd.5.log -rw-r--r-- 1 root root 1.6K Dec 2 09:57 ceph-osd.5.log.1.gz -rw-r--r-- 1 root root 22K Dec 1 09:51 ceph-osd.5.log.2.gz -rw-r--r-- 1 root root 19K Dec 3 10:51 ceph-osd.8.log -rw-r--r-- 1 root root 18K Dec 2 10:50 ceph-osd.8.log.1 -rw-r--r-- 1 root root 261K Dec 1 13:54 ceph-osd.8.log.2 I deployed ceph cluster on Nov 21, from that day to Dec.1, I mean the continue 10 days' logs were compressed into one file, it is not what I want. Does any OP affect log compressing? Thanks! Kongming Wu --------------------------------------------- wukongming ID: 12019 Tel:0571-86760239 Dept:2014 UIS2 ONEStor -----邮件原件----- 发件人: huang jun [mailto:hjwsm1989@xxxxxxxxx] 发送时间: 2015年12月3日 13:19 收件人: wukongming 12019 (RD) 抄送: ceph-devel@xxxxxxxxxxxxxxx; ceph-users@xxxxxxxxxxxxxx 主题: Re: How long will the logs be kept? it will rotate every week by default, you can see the logrotate file /etc/ceph/logrotate.d/ceph 2015-12-03 12:37 GMT+08:00 Wukongming <wu.kongming@xxxxxxx>: > Hi ,All > Is there anyone who knows How long or how many days will the logs.gz (mon/osd/mds)be kept, maybe before flushed? > > --------------------------------------------- > wukongming ID: 12019 > Tel:0571-86760239 > Dept:2014 UIS2 OneStor > > ---------------------------------------------------------------------- > --------------------------------------------------------------- > 本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出 > 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、 > 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本 > 邮件! > This e-mail and its attachments contain confidential information from > H3C, which is intended only for the person or entity whose address is > listed above. Any use of the information contained herein in any way > (including, but not limited to, total or partial disclosure, > reproduction, or dissemination) by persons other than the intended > recipient(s) is prohibited. If you receive this e-mail in error, > please notify the sender by phone or email immediately and delete it! -- thanks huangjun _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com