[Gluster-devel] log rotation
Vijay Bellur
vbellur at redhat.com
Sat Jan 11 05:40:24 UTC 2014
On 01/11/2014 07:29 AM, Emmanuel Dreyfus wrote:
> Hi
>
> 3.5qa3 seems to work fine, I just have a minor issue left,which is log
> rotation:
>
> baril# ls -l /var/log/glusterfs/
> total 1012606
> -rw-r--r-- 1 root wheel 2557 Dec 3 2011 .cmd_log_history
> drwxr-xr-x 2 root wheel 1536 Jan 11 02:52 bricks
> -rw------- 1 root wheel 6982 Jan 11 02:54 cli.log
> -rw------- 1 root wheel 424968239 Jan 11 02:55 glustershd.log
> -rw------- 1 root wheel 423006707 Jan 11 02:55 nfs.log
> -rw------- 1 root wheel 188549674 Jan 11 02:55
> usr-pkg-etc-glusterfs-glusterd.vol.log
>
> There is gluster volume log rotate for brick logs, but what about thoses
> ones?
>
volume log rotate for bricks is deprecated in favour of
extras/glusterfs-logrotate that can be used with logrotate.
glusterfs-logrotate performs log rotation for all glusterfs logs barring
the geo-replication ones.
-Vijay
More information about the Gluster-devel
mailing list