From 75306de37bef217c4615369173d673f102d24163 Mon Sep 17 00:00:00 2001 From: coderfengyun Date: Fri, 21 Mar 2014 10:16:05 +0800 Subject: [PATCH] add some dependencies to recorder --- Bench4Q-Master/pom.xml | 2 + Bench4Q-Recorder/pom.xml | 47 ++++++++++++++++--- .../src/main/resource/log4j.properties | 31 ++++++++++++ 3 files changed, 74 insertions(+), 6 deletions(-) create mode 100644 Bench4Q-Recorder/src/main/resource/log4j.properties diff --git a/Bench4Q-Master/pom.xml b/Bench4Q-Master/pom.xml index 23bb82ea..7fe8e07e 100644 --- a/Bench4Q-Master/pom.xml +++ b/Bench4Q-Master/pom.xml @@ -89,6 +89,8 @@ com.lowagie.text 2.1.7 + + org.apache.portals.jetspeed-2 jetspeed-fileutils-maven-plugin diff --git a/Bench4Q-Recorder/pom.xml b/Bench4Q-Recorder/pom.xml index 6373c9b9..b9ba051f 100644 --- a/Bench4Q-Recorder/pom.xml +++ b/Bench4Q-Recorder/pom.xml @@ -3,23 +3,58 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 4.0.0 - - org.bench4q - integration - 1.0 Beta - + org.bench4q bench4q-recorder - bench4q-recorder + 1.0 Beta + Bench4q Recorder http://maven.apache.org + TCSE, ISCAS UTF-8 + + + junit + junit + 4.11 + test + + org.jsoup jsoup 1.7.3 + + + + org.springframework + spring-context + 3.2.5.RELEASE + + + + + log4j + log4j + 1.2.17 + + + + + org.bench4q + bench4q-share + 0.0.1-SNAPSHOT + + + + + org.apache.portals.jetspeed-2 + jetspeed-fileutils-maven-plugin + 2.2.2 + maven-plugin + diff --git a/Bench4Q-Recorder/src/main/resource/log4j.properties b/Bench4Q-Recorder/src/main/resource/log4j.properties new file mode 100644 index 00000000..271eacec --- /dev/null +++ b/Bench4Q-Recorder/src/main/resource/log4j.properties @@ -0,0 +1,31 @@ +log4j.rootLogger = INFO,WARN,ERROR,FALTAL,D + +log4j.appender.WARN = org.apache.log4j.DailyRollingFileAppender +log4j.appender.WARN.File = logs/warnlog.log +log4j.appender.WARN.Append = true +log4j.appender.WARN.Threshold = WARN +log4j.appender.WARN.layout = org.apache.log4j.PatternLayout +log4j.appender.WARN.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n + +log4j.appender.ERROR = org.apache.log4j.DailyRollingFileAppender +log4j.appender.ERROR.File = logs/errorlog.log +log4j.appender.ERROR.Append = true +log4j.appender.ERROR.Threshold = ERROR +log4j.appender.ERROR.layout = org.apache.log4j.PatternLayout +log4j.appender.ERROR.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n + +log4j.appender.FALTAL = org.apache.log4j.DailyRollingFileAppender +log4j.appender.FALTAL.File = logs/faltallog.log +log4j.appender.FALTAL.Append = true +log4j.appender.FALTAL.Threshold = ERROR +log4j.appender.FALTAL.layout = org.apache.log4j.PatternLayout +log4j.appender.FALTAL.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n + + +log4j.appender.D = org.apache.log4j.DailyRollingFileAppender +log4j.appender.D.File = logs/log.log +log4j.appender.D.Append = true +log4j.appender.D.Threshold = TRACE +log4j.appender.D.layout = org.apache.log4j.PatternLayout +log4j.appender.D.layout.ConversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [ %t:%r ] - [ %p ] %m%n +