<div dir="ltr">Hi,<div><br></div><div>Running glusterfs 3.5.3 built on Nov 17 2014 15:48:54 on two servers and one client. And all have same issue: they are loging to the wrong place.</div><div><br></div><div>They should log to:</div><div>/var/log/glusterfs/cli.log<br></div><div>/var/log/glusterfs/nfs.log<br></div><div>/var/log/glusterfs/glustershd.log<br></div><div>/var/log/glusterfs/glfsheal-vol-name.log<br></div><div><br></div><div>After I start gluster it&#39;s ok, but after first rotate gluster wirtes to </div><div>.1 files only:</div><div><br></div><div><div>/var/log/glusterfs/cli.log.1<br></div><div>/var/log/glusterfs/nfs.log.1<br></div><div>/var/log/glusterfs/glustershd.log.1<br></div><div>/var/log/glusterfs/glfsheal-vol-name.log.1</div></div><div><br></div><div>same applies to /var/log/bricks/*.log files.</div><div><br></div><div>on client machine</div><div>instead of /var/log/glusterfs/srv-volname.log logging goes to /var/log/glusterfs/srv-volname.log.1 after first rotate.</div><div>client uses glusterfs 3.5.2, but soon will be updated also.<br></div><div><br></div><div>Any help?</div><div><br></div><div><br></div><div>logrotate.d conf files</div><div><br></div><div><div>/var/log/glusterfs/*/*.log {</div><div>        daily</div><div>        rotate 7</div><div>        delaycompress</div><div>        compress</div><div>        notifempty</div><div>        missingok</div><div>        copytruncate</div><div>        postrotate</div><div>                [ ! -f /var/run/glusterd.pid ] || kill -HUP `cat /var/run/glusterd.pid`</div><div>        endscript</div><div>}</div></div><div><br></div><div><br></div><div><div>root@stor1:~# cat /etc/logrotate.d/glusterfs-common</div><div>/var/log/glusterfs/*.log {</div><div>        daily</div><div>        rotate 7</div><div>        delaycompress</div><div>        compress</div><div>        notifempty</div><div>        missingok</div><div>        postrotate</div><div>                [ ! -f /var/run/glusterd.pid ] || kill -HUP `cat /var/run/glusterd.pid`</div><div>        endscript</div><div>}</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>-- <br><div class="gmail_signature">Best regards,<br>Roman.</div>
</div></div>