marmotta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sschaff...@apache.org
Subject [1/2] git commit: remove unnecessary logging
Date Wed, 06 Nov 2013 22:53:53 GMT
Updated Branches:
  refs/heads/develop 6c29dc40d -> 84b4ef3bb


remove unnecessary logging


Project: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/commit/7f411fd5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/tree/7f411fd5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-marmotta/diff/7f411fd5

Branch: refs/heads/develop
Commit: 7f411fd59dc9d85046c457fbb20a7b7d0316a18e
Parents: 5a787b4
Author: Sebastian Schaffert <sschaffert@apache.org>
Authored: Wed Nov 6 23:53:09 2013 +0100
Committer: Sebastian Schaffert <sschaffert@apache.org>
Committed: Wed Nov 6 23:53:09 2013 +0100

----------------------------------------------------------------------
 .../kiwi-loader/src/main/resources/logback.xml  | 27 ++++++++++++++++++++
 .../kiwi/persistence/KiWiConnection.java        |  2 --
 2 files changed, 27 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/7f411fd5/libraries/kiwi/kiwi-loader/src/main/resources/logback.xml
----------------------------------------------------------------------
diff --git a/libraries/kiwi/kiwi-loader/src/main/resources/logback.xml b/libraries/kiwi/kiwi-loader/src/main/resources/logback.xml
new file mode 100644
index 0000000..1bfecff
--- /dev/null
+++ b/libraries/kiwi/kiwi-loader/src/main/resources/logback.xml
@@ -0,0 +1,27 @@
+<!--
+  ~ 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.
+  -->
+
+<configuration>
+    <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
+        <encoder>
+            <pattern>%d{HH:mm:ss.SSS} %highlight(%level) %cyan(%logger{15}) - %m%n</pattern>
+        </encoder>
+    </appender>
+    <root level="${root-level:-INFO}">
+        <appender-ref ref="CONSOLE"/>
+    </root>
+</configuration>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/7f411fd5/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/KiWiConnection.java
----------------------------------------------------------------------
diff --git a/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/KiWiConnection.java
b/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/KiWiConnection.java
index 7067ca3..69fff03 100644
--- a/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/KiWiConnection.java
+++ b/libraries/kiwi/kiwi-triplestore/src/main/java/org/apache/marmotta/kiwi/persistence/KiWiConnection.java
@@ -1578,8 +1578,6 @@ public class KiWiConnection {
             }
             if(row.getLong("ltype") != 0) {
                 result.setType((KiWiUriResource) loadNodeById(row.getLong("ltype")));
-            } else {
-                log.debug("Loaded literal without type: '{}' (id:{}).", result.getContent(),
result.getId());
             }
 
             cacheNode(result);


Mime
View raw message