diff --git a/lib/server-core/pom.xml b/lib/server-core/pom.xml
index bc7ae718f..d04c5fc28 100644
--- a/lib/server-core/pom.xml
+++ b/lib/server-core/pom.xml
@@ -66,10 +66,15 @@
com.fasterxml.jackson.core
jackson-core
+
+ commons-logging
+ commons-logging
+ test
+
org.slf4j
- slf4j-log4j12
- 1.7.6
+ slf4j-simple
+ test
diff --git a/lib/server-core/src/test/resources/simplelogger.properties b/lib/server-core/src/test/resources/simplelogger.properties
new file mode 100644
index 000000000..2a3350c78
--- /dev/null
+++ b/lib/server-core/src/test/resources/simplelogger.properties
@@ -0,0 +1,20 @@
+#
+# 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.
+#
+org.slf4j.simpleLogger.defaultLogLevel=debug
+org.slf4j.simpleLogger.logFile=System.out
\ No newline at end of file
diff --git a/lib/server-ref/pom.xml b/lib/server-ref/pom.xml
index 8e69f8121..ce5e30d08 100644
--- a/lib/server-ref/pom.xml
+++ b/lib/server-ref/pom.xml
@@ -53,7 +53,18 @@
${project.version}
runtime
-
+
+
+ commons-logging
+ commons-logging
+ runtime
+
+
+ org.slf4j
+ slf4j-simple
+ runtime
+
+
junit
junit
diff --git a/lib/server-ref/src/main/java/org/apache/olingo/server/ref/ReferenceServlet.java b/lib/server-ref/src/main/java/org/apache/olingo/server/ref/ReferenceServlet.java
index 47daecbec..93b766ec7 100644
--- a/lib/server-ref/src/main/java/org/apache/olingo/server/ref/ReferenceServlet.java
+++ b/lib/server-ref/src/main/java/org/apache/olingo/server/ref/ReferenceServlet.java
@@ -28,13 +28,19 @@ import javax.servlet.http.HttpServletResponse;
import org.apache.olingo.server.api.ODataHandler;
import org.apache.olingo.server.api.ODataServer;
import org.apache.olingo.server.ref.provider.EdmTechProvider;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
public class ReferenceServlet extends HttpServlet {
private static final long serialVersionUID = 1L;
+ private static final Logger LOG = LoggerFactory.getLogger(ReferenceServlet.class);
+
@Override
protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
+ LOG.debug("ReferenceServlet:service() called");
+
ODataHandler handler = ODataServer.newInstance().getHandler(new EdmTechProvider());