You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by se...@apache.org on 2010/06/05 14:13:58 UTC

svn commit: r951697 - in /directory/apacheds/trunk/protocol-kerberos/src: main/java/org/apache/directory/server/kerberos/kdc/KdcServer.java test/resources/log4j.properties

Author: seelmann
Date: Sat Jun  5 12:13:58 2010
New Revision: 951697

URL: http://svn.apache.org/viewvc?rev=951697&view=rev
Log:
Removed System.out, added log4j.properties to avoid log4j warn messages during test

Added:
    directory/apacheds/trunk/protocol-kerberos/src/test/resources/log4j.properties
Modified:
    directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcServer.java

Modified: directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcServer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcServer.java?rev=951697&r1=951696&r2=951697&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcServer.java (original)
+++ directory/apacheds/trunk/protocol-kerberos/src/main/java/org/apache/directory/server/kerberos/kdc/KdcServer.java Sat Jun  5 12:13:58 2010
@@ -513,7 +513,6 @@ public class KdcServer extends Directory
         }
         
         LOG.info( "Kerberos service started." );
-        System.out.println( "Kerberos service started." );
     }
 
     
@@ -530,7 +529,6 @@ public class KdcServer extends Directory
         }
         
         LOG.info( "Kerberos service stopped." );
-        System.out.println( "Kerberos service stopped." );
     }
 
 

Added: directory/apacheds/trunk/protocol-kerberos/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-kerberos/src/test/resources/log4j.properties?rev=951697&view=auto
==============================================================================
--- directory/apacheds/trunk/protocol-kerberos/src/test/resources/log4j.properties (added)
+++ directory/apacheds/trunk/protocol-kerberos/src/test/resources/log4j.properties Sat Jun  5 12:13:58 2010
@@ -0,0 +1,21 @@
+#############################################################################
+#    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.rootCategory=OFF, stdout
+
+log4j.appender.stdout=org.apache.log4j.ConsoleAppender
+log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
+log4j.appender.stdout.layout.ConversionPattern=[%d{HH:mm:ss}] %p [%c] - %m%n