Hi,
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.
They should log to:
/var/log/glusterfs/cli.log
/var/log/glusterfs/nfs.log
/var/log/glusterfs/glustershd.log
/var/log/glusterfs/glfsheal-vol-name.log
After I start gluster it's ok, but after first rotate gluster wirtes to
.1 files only:
/var/log/glusterfs/cli.log.1
/var/log/glusterfs/nfs.log.1
/var/log/glusterfs/glustershd.log.1
/var/log/glusterfs/glfsheal-vol-name.log.1
same applies to /var/log/bricks/*.log files.
on client machine
instead of /var/log/glusterfs/srv-volname.log logging goes to /var/log/glusterfs/srv-volname.log.1 after first rotate.
client uses glusterfs 3.5.2, but soon will be updated also.
Any help?
logrotate.d conf files
/var/log/glusterfs/*/*.log {
daily
rotate 7
delaycompress
compress
notifempty
missingok
copytruncate
postrotate
[ ! -f /var/run/glusterd.pid ] || kill -HUP `cat /var/run/glusterd.pid`
endscript
}
root@stor1:~# cat /etc/logrotate.d/glusterfs-common
/var/log/glusterfs/*.log {
daily
rotate 7
delaycompress
compress
notifempty
missingok
postrotate
[ ! -f /var/run/glusterd.pid ] || kill -HUP `cat /var/run/glusterd.pid`
endscript
}
--
Best regards,
Roman.
Roman.
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://www.gluster.org/mailman/listinfo/gluster-users