modified log format for daily log 35/16535/3
authorJung Seungho <shonest.jung@samsung.com>
Wed, 18 Jan 2017 13:15:03 +0000 (22:15 +0900)
committerJee Hyeok Kim <jihyeok13.kim@samsung.com>
Thu, 19 Jan 2017 02:03:30 +0000 (02:03 +0000)
Change-Id: Ieee45141bef410df49aaadb6a9366a0d76f4a90e
Signed-off-by: Jung Seungho <shonest.jung@samsung.com>
Signed-off-by: Jee Hyeok Kim <jihyeok13.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/16535
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
cloud/stack/src/main/java/log4j.properties

index ba55652..5728490 100644 (file)
@@ -1,11 +1,11 @@
 # Root logger option
-log4j.rootLogger=FATAL, rolling
+log4j.rootLogger=FATAL, file
 
 # Redirect log messages to a log file, support file rolling.
-log4j.appender.rolling=org.apache.log4j.DailyRollingFileAppender
-log4j.appender.rolling.File=./log/cloud.log
-log4j.appender.rolling.DatePattern='.'yyyy-MM-dd
+log4j.appender.file=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.file.File=./log/cloud.log
+log4j.appender.file.DatePattern='.'yyyy-MM-dd
 #log4j.appender.file.MaxFileSize=5MB
 #log4j.appender.file.MaxBackupIndex=10
-log4j.appender.rolling.layout=org.apache.log4j.PatternLayout
+log4j.appender.file.layout=org.apache.log4j.PatternLayout
 #log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
\ No newline at end of file