Repository: airavata
Updated Branches:
  refs/heads/master 190217ba7 -> cff0bf2b3


Fixed - AIRAVATA-1461


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

Branch: refs/heads/master
Commit: cff0bf2b3dfc46a2522efde69a8eea5f39d2ad56
Parents: 190217b
Author: shamrath <[email protected]>
Authored: Mon Apr 20 15:14:19 2015 -0400
Committer: shamrath <[email protected]>
Committed: Mon Apr 20 15:14:19 2015 -0400

----------------------------------------------------------------------
 .../server/src/main/resources/airavata-server.properties         | 2 +-
 modules/configuration/server/src/main/resources/log4j.properties | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/cff0bf2b/modules/configuration/server/src/main/resources/airavata-server.properties
----------------------------------------------------------------------
diff --git 
a/modules/configuration/server/src/main/resources/airavata-server.properties 
b/modules/configuration/server/src/main/resources/airavata-server.properties
index 7f18e3d..a00990e 100644
--- a/modules/configuration/server/src/main/resources/airavata-server.properties
+++ b/modules/configuration/server/src/main/resources/airavata-server.properties
@@ -195,7 +195,7 @@ 
host.scheduler=org.apache.airavata.gfac.core.scheduler.impl.SimpleHostScheduler
 #mechanisms and one would be able to start a monitor
 
monitors=org.apache.airavata.gfac.monitor.impl.pull.qstat.QstatMonitor,org.apache.airavata.gfac.monitor.impl.LocalJobMonitor
 
-#These property will used to query the email server periodically. value in 
milliseconds(ms).
+#These property will be used to query the email server periodically. value in 
milliseconds(ms).
 email.based.monitoring.period=10000
 ###########################################################################
 # AMQP Notification Configuration

http://git-wip-us.apache.org/repos/asf/airavata/blob/cff0bf2b/modules/configuration/server/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/modules/configuration/server/src/main/resources/log4j.properties 
b/modules/configuration/server/src/main/resources/log4j.properties
index 16c9b75..07aa93a 100644
--- a/modules/configuration/server/src/main/resources/log4j.properties
+++ b/modules/configuration/server/src/main/resources/log4j.properties
@@ -36,8 +36,10 @@ log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
 log4j.appender.CONSOLE.layout.ConversionPattern=[%p] %m%n
 
 # LOGFILE is set to be a File appender using a PatternLayout.
-log4j.appender.LOGFILE=org.apache.log4j.FileAppender
+log4j.appender.LOGFILE=org.apache.log4j.DailyRollingFileAppender
 log4j.appender.LOGFILE.File=airavata.log
+#Rollover at midnight each day.
+log4j.appender.LOGFILE.DatePattern='.'yyyy-MM-dd
 log4j.appender.LOGFILE.Append=true
 log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
 log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n

Reply via email to