Fix test logging config (avoid noop logger warning) and remove some sysouts
diff --git a/core/src/test/java/org/apache/directory/server/core/security/CertificateUtilTest.java b/core/src/test/java/org/apache/directory/server/core/security/CertificateUtilTest.java
index e71f09f..02d579e 100644
--- a/core/src/test/java/org/apache/directory/server/core/security/CertificateUtilTest.java
+++ b/core/src/test/java/org/apache/directory/server/core/security/CertificateUtilTest.java
@@ -51,6 +51,5 @@
             
 
         X509Certificate certificate = CertificateUtil.generateSelfSignedCertificate( owner, keyPair, 3650, "SHA256WithECDSA" );
-        System.out.println( certificate );
     }
 }
diff --git a/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LightweightLdapConnectionPoolTest.java b/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LightweightLdapConnectionPoolTest.java
index ed3b763..b904f25 100644
--- a/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LightweightLdapConnectionPoolTest.java
+++ b/ldap-client-test/src/test/java/org/apache/directory/shared/client/api/LightweightLdapConnectionPoolTest.java
@@ -218,8 +218,6 @@
         pool.setTestOnBorrow( true );
         pool.setBlockWhenExhausted( !GenericObjectPoolConfig.DEFAULT_BLOCK_WHEN_EXHAUSTED );
         pool.setMaxIdle( 0 );
-
-        System.out.println( "Max Active connections =: " + pool.getMaxTotal() );
     }
 
 
@@ -251,8 +249,6 @@
         poolNoIdle.setBlockWhenExhausted( !GenericObjectPoolConfig.DEFAULT_BLOCK_WHEN_EXHAUSTED );
         poolNoIdle.setMaxIdle( 0 );
 
-        System.out.println( "Max Active connections =: " + pool.getMaxTotal() );
-
         for ( int j = 0; j < 1; j++ )
         {
             System.out.println( "-------------------" );
@@ -300,8 +296,6 @@
         poolWithIdle.setTestOnBorrow( true );
         poolWithIdle.setBlockWhenExhausted( GenericObjectPoolConfig.DEFAULT_BLOCK_WHEN_EXHAUSTED );
 
-        System.out.println( "Max Active connections =: " + pool.getMaxTotal() );
-
         for ( int j = 0; j < 1; j++ )
         {
             int nbIterations = 20000;
diff --git a/osgi-integ/src/test/resources/log4j.properties b/osgi-integ/src/test/resources/log4j.properties
new file mode 100755
index 0000000..439f1ec
--- /dev/null
+++ b/osgi-integ/src/test/resources/log4j.properties
@@ -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=ERROR, 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
diff --git a/service/src/test/java/org/apache/directory/server/UberJarMainTest.java b/service/src/test/java/org/apache/directory/server/UberJarMainTest.java
index f7cb286..12b4378 100644
--- a/service/src/test/java/org/apache/directory/server/UberJarMainTest.java
+++ b/service/src/test/java/org/apache/directory/server/UberJarMainTest.java
@@ -328,17 +328,10 @@
 
             Entry nisSchema = connection.lookup( "cn=nis,ou=schema" );
 
-            System.out.println( "Before nis anabling" );
-            System.out.println( nisSchema );
-
             Entry nisObjectClass = connection.lookup( "ou=objectClasses,cn=nis,ou=schema" );
 
-            System.out.println( nisObjectClass );
-
             Entry posixAccount = connection.lookup( "m-oid=1.3.6.1.1.1.2.0,ou=objectClasses,cn=nis,ou=schema" );
 
-            System.out.println( "posixAccount : " + posixAccount );
-
             if ( rootDseEntry == null )
             {
                 // This isn't good