You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by zh...@apache.org on 2017/07/06 02:39:56 UTC
ranger git commit: Useless configuration in unixauthservice pom.xml
lead to project compiler error in eclipse
Repository: ranger
Updated Branches:
refs/heads/master 655ceb219 -> 324a8e872
Useless configuration in unixauthservice pom.xml lead to project compiler error in eclipse
Signed-off-by: peng.jianhua <pe...@zte.com.cn>
Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/324a8e87
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/324a8e87
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/324a8e87
Branch: refs/heads/master
Commit: 324a8e8728bd8d43c4165c77ed65fe63448533e9
Parents: 655ceb2
Author: zhangqiang2 <zh...@zte.com.cn>
Authored: Wed Jul 5 11:18:11 2017 +0800
Committer: peng.jianhua <pe...@zte.com.cn>
Committed: Wed Jul 5 22:38:03 2017 -0400
----------------------------------------------------------------------
unixauthservice/pom.xml | 11 -------
.../src/main/resources/log4j.properties | 33 ++++++++++++++++++++
2 files changed, 33 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ranger/blob/324a8e87/unixauthservice/pom.xml
----------------------------------------------------------------------
diff --git a/unixauthservice/pom.xml b/unixauthservice/pom.xml
index cc8fb1c..d2bc2a8 100644
--- a/unixauthservice/pom.xml
+++ b/unixauthservice/pom.xml
@@ -88,15 +88,4 @@
<version>${slf4j-api.version}</version>
</dependency>
</dependencies>
- <build>
- <resources>
- <resource>
- <targetPath>${project.build.outputDirectory}/</targetPath>
- <directory>conf.dist</directory>
- <includes>
- <include>log4j.properties</include>
- </includes>
- </resource>
- </resources>
- </build>
</project>
http://git-wip-us.apache.org/repos/asf/ranger/blob/324a8e87/unixauthservice/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/unixauthservice/src/main/resources/log4j.properties b/unixauthservice/src/main/resources/log4j.properties
new file mode 100644
index 0000000..dbad541
--- /dev/null
+++ b/unixauthservice/src/main/resources/log4j.properties
@@ -0,0 +1,33 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+#
+
+
+log4j.rootLogger = info,logFile
+
+# logFile
+log4j.appender.logFile=org.apache.log4j.DailyRollingFileAppender
+log4j.appender.logFile.file=${logdir}/usersync.log
+log4j.appender.logFile.datePattern='.'yyyy-MM-dd
+log4j.appender.logFile.layout=org.apache.log4j.PatternLayout
+log4j.appender.logFile.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss} %5p %c{1} [%t] - %m%n
+
+# console
+log4j.appender.console=org.apache.log4j.ConsoleAppender
+log4j.appender.console.Target=System.out
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
+log4j.appender.console.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss} %5p %c{1} [%t] - %m%n