giggzounet a écrit :
> Hi,
> 
> I have noticed that the sync_files writes a lot of log files under
> /var/log/oscar. I have written a little logrotate file:
> 
> [08:59:27] r...@master /etc/logrotate.d # cat sync_file_oscar
> ##
> # sync_file_oscar Logrotate Configuration
> ##
> 
> /var/log/oscar/* {
>   daily
>   rotate 0
>   maxage 1
> }
> 
> it deletes all the sync_files log that are older thant a day.
> 
> bye
> Guillaume
> 

a little bit better:
/var/log/oscar/* {
  daily
  rotate 0
  nocreate
  maxage 1
}


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to