directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r951700 - in /directory/apacheds/trunk/protocol-changepw/src: main/java/org/apache/directory/server/changepw/ChangePasswordServer.java test/resources/ test/resources/log4j.properties
Date Sat, 05 Jun 2010 12:27:01 GMT
Author: seelmann
Date: Sat Jun  5 12:27:00 2010
New Revision: 951700

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

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

Modified: directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/ChangePasswordServer.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/ChangePasswordServer.java?rev=951700&r1=951699&r2=951700&view=diff
==============================================================================
--- directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/ChangePasswordServer.java
(original)
+++ directory/apacheds/trunk/protocol-changepw/src/main/java/org/apache/directory/server/changepw/ChangePasswordServer.java
Sat Jun  5 12:27:00 2010
@@ -321,7 +321,7 @@ public class ChangePasswordServer extend
         }
         
         LOG.info( "ChangePassword service started." );
-        System.out.println( "ChangePassword service started." );
+        //System.out.println( "ChangePassword service started." );
     }
 
 
@@ -338,7 +338,7 @@ public class ChangePasswordServer extend
         }
 
         LOG.info( "ChangePassword service stopped." );
-        System.out.println( "ChangePassword service stopped." );
+        //System.out.println( "ChangePassword service stopped." );
     }
 
 

Added: directory/apacheds/trunk/protocol-changepw/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/protocol-changepw/src/test/resources/log4j.properties?rev=951700&view=auto
==============================================================================
--- directory/apacheds/trunk/protocol-changepw/src/test/resources/log4j.properties (added)
+++ directory/apacheds/trunk/protocol-changepw/src/test/resources/log4j.properties Sat Jun
 5 12:27:00 2010
@@ -0,0 +1,22 @@
+#############################################################################
+#    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
+



Mime
View raw message