[Gluster-users] rotating log files, again

Ørjan Ommundsen orjan at redpill-linpro.com
Mon Dec 13 12:06:43 UTC 2010



----- Original Message -----
> On 3 Nov 2010, Phil Packer had asked about rotating log files.
> While brick log files get rotated via the "gluster volume log rotate"
> command, the question was left unanswered for logs like:
> 
> /var/log/glusterfs/nfs.log
> /var/log/glusterfs/VOLUME.log
> 
> Is there any update on how we're supposed to rotate these files
> that's more friendly than shutting down glusterd, rotating them,
> and starting up glusterd again?
> 
> Glusterfs is chatty in its logs, and I'd prefer not to have
> those files grow very big.
> 
> Finally, as far as the brick logs go, is the intent that after they
> are rotated we can just run a find(1) for old ones and delete them
> as required?
> 
> Devin
> 
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users

do 'man logrotate' and look for "copytruncate"


-- 
Ørjan Ommundsen
Redpill Linpro AS - Changing the game
Kontor: +47 21 54 41 69




More information about the Gluster-users mailing list