From c223154044ab45933bb7030897cf0ffdafda5410 Mon Sep 17 00:00:00 2001 From: lissav Date: Wed, 16 Mar 2011 17:32:13 +0000 Subject: [PATCH] setup logging rotate for datbase logging git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/tools/createdb.sql | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xCAT-server/share/xcat/tools/createdb.sql b/xCAT-server/share/xcat/tools/createdb.sql index 27cdaca5c..3b977ecc4 100755 --- a/xCAT-server/share/xcat/tools/createdb.sql +++ b/xCAT-server/share/xcat/tools/createdb.sql @@ -24,3 +24,7 @@ update db cfg for xcatdb using STAT_HEAP_SZ AUTOMATIC; update db cfg for xcatdb using DFT_PREFETCH_SZ AUTOMATIC; update db cfg for xcatdb using MAXAPPLS AUTOMATIC; update db cfg for xcatdb using AVG_APPLS AUTOMATIC; +update db cfg for xcatdb using LOGBUFSZ 98; +update db cfg for xcatdb using LOGFILSIZ 10024; +update db cfg for xcatdb using LOGPRIMARY 10; +update db cfg for xcatdb using LOGSECOND 20;