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

Doron Shoham dorons at Voltaire.COM
Thu Nov 6 06:26:43 PST 2008


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




More information about the general mailing list