rotating log files, again

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

 




----- 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



[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