aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuciano Resende <lresende@apache.org>2017-01-18 18:12:11 -0800
committerLuciano Resende <lresende@apache.org>2017-01-18 18:12:11 -0800
commitf3bf10429e3084ea1496d250766d8a40a9884954 (patch)
tree3bb6127beb5c78eed1665027e8b922b59fde14c9
parent7a261d5bdeba857ae31fd122d8cf3a759c5e8b24 (diff)
downloadtoree-gateway-f3bf10429e3084ea1496d250766d8a40a9884954.tar.gz
toree-gateway-f3bf10429e3084ea1496d250766d8a40a9884954.tar.bz2
toree-gateway-f3bf10429e3084ea1496d250766d8a40a9884954.zip
Remove unecessary log4j configuration files
-rw-r--r--pom.xml4
-rw-r--r--src/main/assembly/distribution.xml9
-rw-r--r--src/main/resources/log4j.properties32
3 files changed, 0 insertions, 45 deletions
diff --git a/pom.xml b/pom.xml
index daaadce..58a0c28 100644
--- a/pom.xml
+++ b/pom.xml
@@ -142,10 +142,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
- <configuration>
- <argLine>-Dlog4j.configuration=file:"./src/test/resources/conf/log4j.prop"
- </argLine>
- </configuration>
</plugin>
<plugin>
diff --git a/src/main/assembly/distribution.xml b/src/main/assembly/distribution.xml
index e2ecf36..11b3429 100644
--- a/src/main/assembly/distribution.xml
+++ b/src/main/assembly/distribution.xml
@@ -49,15 +49,6 @@
<include>toree-gateway-kernel.py</include>
</includes>
</fileSet>
-
- <fileSet>
- <directory>src/main/resources</directory>
- <outputDirectory>conf</outputDirectory>
- <includes>
- <include>log4j.properties</include>
- <include>profile.json.template</include>
- </includes>
- </fileSet>
</fileSets>
<files>
diff --git a/src/main/resources/log4j.properties b/src/main/resources/log4j.properties
deleted file mode 100644
index 7f8ae43..0000000
--- a/src/main/resources/log4j.properties
+++ /dev/null
@@ -1,32 +0,0 @@
-#
-# (C) Copyright IBM Corp. 2017
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-# Root logger option
-log4j.rootLogger=INFO, file, console
-
-# Direct log messages to a log file
-log4j.appender.file=org.apache.log4j.RollingFileAppender
-log4j.appender.file.File=/opt/toree-gateway/logs/toree-gateway.log
-log4j.appender.file.MaxFileSize=10MB
-log4j.appender.file.MaxBackupIndex=10
-log4j.appender.file.layout=org.apache.log4j.PatternLayout
-log4j.appender.file.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n
-
-# Direct log messages to console
-log4j.appender.console=org.apache.log4j.ConsoleAppender
-log4j.appender.console.target=System.err
-log4j.appender.console.layout=org.apache.log4j.PatternLayout
-log4j.appender.console.layout.ConversionPattern=%d{yy/MM/dd HH:mm:ss} %p %c{1}: %m%n \ No newline at end of file