[ofa-general] Re: [PATCH] limit log records number and size

Sasha Khapyorsky sashak at voltaire.com
Sun Nov 9 05:56:46 PST 2008


Hi Doron,

On 16:26 Thu 06 Nov     , Doron Shoham wrote:
> limit log records number and size
> 
> Signed-off-by: Doron Shoham <dorons at voltaire.com>
> ---
>  opensm/scripts/opensm.logrotate |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/opensm/scripts/opensm.logrotate b/opensm/scripts/opensm.logrotate
> index e16e227..e0f4125 100644
> --- a/opensm/scripts/opensm.logrotate
> +++ b/opensm/scripts/opensm.logrotate
> @@ -4,4 +4,6 @@
>      copytruncate
>      weekly
>      compress
> +    rotate 10
> +    size 100M

Why it should be limited this (and not another) way? Is not it better to
follow the default site policy?

Sasha



More information about the general mailing list