loging bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux