Repository: stratos
Updated Branches:
  refs/heads/master 8d2489771 -> 6b57b2cff


Fixed issue: wso2carbon.log filled up VM disk causing reboot


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/6b57b2cf
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/6b57b2cf
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/6b57b2cf

Branch: refs/heads/master
Commit: 6b57b2cffb5be82c7f9911acc28368b3a272432f
Parents: 8d24897
Author: Jeffrey Nguyen <[email protected]>
Authored: Wed Jul 2 11:30:30 2014 -0700
Committer: Jeffrey Nguyen <[email protected]>
Committed: Wed Jul 2 11:32:05 2014 -0700

----------------------------------------------------------------------
 .../stratos/modules/distribution/src/main/conf/log4j.properties  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/6b57b2cf/products/stratos/modules/distribution/src/main/conf/log4j.properties
----------------------------------------------------------------------
diff --git 
a/products/stratos/modules/distribution/src/main/conf/log4j.properties 
b/products/stratos/modules/distribution/src/main/conf/log4j.properties
index a85d346..bb37679 100644
--- a/products/stratos/modules/distribution/src/main/conf/log4j.properties
+++ b/products/stratos/modules/distribution/src/main/conf/log4j.properties
@@ -113,7 +113,9 @@ log4j.appender.CARBON_MEMORY.threshold=DEBUG
 
 
 # CARBON_LOGFILE is set to be a DailyRollingFileAppender using a PatternLayout.
-log4j.appender.CARBON_LOGFILE=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.CARBON_LOGFILE=org.apache.log4j.RollingFileAppender
+log4j.appender.CARBON_LOGFILE.MaxFileSize=10000KB
+log4j.appender.CARBON_LOGFILE.MaxBackupIndex=10
 # Log file will be overridden by the configuration setting in the DB
 # This path should be relative to WSO2 Carbon Home
 
log4j.appender.CARBON_LOGFILE.File=${carbon.home}/repository/logs/${instance.log}/wso2carbon${instance.log}.log

Reply via email to