You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ma...@apache.org on 2016/08/18 03:03:52 UTC
[2/2] kylin git commit: KYLIN-1963 add log4j.properties system
property in pom
KYLIN-1963 add log4j.properties system property in pom
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/8f5442bf
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/8f5442bf
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/8f5442bf
Branch: refs/heads/master
Commit: 8f5442bff2f96399685cb86bc520d94e1b2de291
Parents: 7f04a2b
Author: Hongbin Ma <ma...@apache.org>
Authored: Thu Aug 18 11:03:25 2016 +0800
Committer: Hongbin Ma <ma...@apache.org>
Committed: Thu Aug 18 11:03:25 2016 +0800
----------------------------------------------------------------------
kylin-it/pom.xml | 6 ++++++
pom.xml | 6 +++++-
2 files changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/8f5442bf/kylin-it/pom.xml
----------------------------------------------------------------------
diff --git a/kylin-it/pom.xml b/kylin-it/pom.xml
index 6c924b0..f2e03b6 100644
--- a/kylin-it/pom.xml
+++ b/kylin-it/pom.xml
@@ -270,6 +270,10 @@
<name>useSandbox</name>
<value>true</value>
</property>
+ <property>
+ <name>log4j.configuration</name>
+ <value>kylin-log4j.properties</value>
+ </property>
</systemProperties>
<argLine>-Xms1G -Xmx2G -XX:PermSize=128M -XX:MaxPermSize=512M</argLine>
</configuration>
@@ -292,6 +296,7 @@
<argument>-DuseSandbox=true</argument>
<argument>-Dhdp.version=${hdp.version}</argument>
<argument>-DfastBuildMode=${fastBuildMode}</argument>
+ <argument>-Dlog4j.configuration=kylin-log4j.properties</argument>
<argument>-classpath</argument>
<classpath/>
<argument>org.apache.kylin.provision.BuildCubeWithEngine</argument>
@@ -313,6 +318,7 @@
<argument>-DuseSandbox=true</argument>
<argument>-Dhdp.version=${hdp.version}</argument>
<argument>-DfastBuildMode=${fastBuildMode}</argument>
+ <argument>-Dlog4j.configuration=kylin-log4j.properties</argument>
<argument>-classpath</argument>
<classpath/>
<argument>org.apache.kylin.provision.BuildCubeWithStream</argument>
http://git-wip-us.apache.org/repos/asf/kylin/blob/8f5442bf/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 03fd0ea..a1f4f42 100644
--- a/pom.xml
+++ b/pom.xml
@@ -766,7 +766,7 @@
</dependencyManagement>
<dependencies>
-
+
<!-- the logging dependencies are inherited by all modules for their generality
log4j and slf4j-log4j12 test scope only for UT/IT use
-->
@@ -1062,6 +1062,10 @@
<name>buildCubeUsingProvidedData</name>
<value>false</value>
</property>
+ <property>
+ <name>log4j.configuration</name>
+ <value>kylin-log4j.properties</value>
+ </property>
</systemProperties>
<argLine>-Xms1G -Xmx2G -XX:MaxPermSize=512M</argLine>
</configuration>