You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pl...@apache.org on 2015/11/04 09:25:48 UTC

[22/48] directory-kerby git commit: DIRKRB-424 Need to initialize the log4j system properly.

DIRKRB-424 Need to initialize the log4j system properly.


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/eff5d0ca
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/eff5d0ca
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/eff5d0ca

Branch: refs/heads/pkinit-support
Commit: eff5d0ca70f6c1d21b68409615dab12ceec4cf1b
Parents: bbed4ef
Author: plusplusjiajia <ji...@intel.com>
Authored: Wed Sep 30 14:48:32 2015 +0800
Committer: plusplusjiajia <ji...@intel.com>
Committed: Wed Sep 30 14:48:32 2015 +0800

----------------------------------------------------------------------
 .../src/main/resources/log4j.properties         | 23 ++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/eff5d0ca/kerby-kerb/kerb-identity/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-identity/src/main/resources/log4j.properties b/kerby-kerb/kerb-identity/src/main/resources/log4j.properties
new file mode 100644
index 0000000..3c91c57
--- /dev/null
+++ b/kerby-kerb/kerb-identity/src/main/resources/log4j.properties
@@ -0,0 +1,23 @@
+#############################################################################
+#    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=ERROR, console
+
+
+log4j.appender.console=org.apache.log4j.ConsoleAppender
+log4j.appender.console.layout=org.apache.log4j.PatternLayout
+log4j.appender.console.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c{2}: %m%n
+