marmotta-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sschaff...@apache.org
Subject git commit: fix for critical MARMOTTA-129
Date Fri, 08 Mar 2013 13:54:53 GMT
Updated Branches:
  refs/heads/master 79a85607c -> dd498a5c5


fix for critical MARMOTTA-129


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

Branch: refs/heads/master
Commit: dd498a5c503c4cfc491ad6cd50ef77c3809e9c05
Parents: 79a8560
Author: Sebastian Schaffert <sschaffert@apache.org>
Authored: Fri Mar 8 14:54:43 2013 +0100
Committer: Sebastian Schaffert <sschaffert@apache.org>
Committed: Fri Mar 8 14:54:43 2013 +0100

----------------------------------------------------------------------
 .../contextaware/ContextAwareSailConnection.java   |   16 +++++++++++++++
 .../core/services/logging/LoggingServiceImpl.java  |    2 +-
 2 files changed, 17 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/dd498a5c/libraries/kiwi/kiwi-contextaware/src/main/java/org/apache/marmotta/kiwi/contextaware/ContextAwareSailConnection.java
----------------------------------------------------------------------
diff --git a/libraries/kiwi/kiwi-contextaware/src/main/java/org/apache/marmotta/kiwi/contextaware/ContextAwareSailConnection.java
b/libraries/kiwi/kiwi-contextaware/src/main/java/org/apache/marmotta/kiwi/contextaware/ContextAwareSailConnection.java
index 6624eb8..058632d 100644
--- a/libraries/kiwi/kiwi-contextaware/src/main/java/org/apache/marmotta/kiwi/contextaware/ContextAwareSailConnection.java
+++ b/libraries/kiwi/kiwi-contextaware/src/main/java/org/apache/marmotta/kiwi/contextaware/ContextAwareSailConnection.java
@@ -25,6 +25,7 @@ import org.openrdf.model.URI;
 import org.openrdf.model.Value;
 import org.openrdf.sail.SailConnection;
 import org.openrdf.sail.SailException;
+import org.openrdf.sail.UpdateContext;
 import org.openrdf.sail.helpers.SailConnectionWrapper;
 
 /**
@@ -52,11 +53,26 @@ public class ContextAwareSailConnection extends SailConnectionWrapper
{
     }
 
     @Override
+    public void addStatement(UpdateContext modify, Resource subj, URI pred, Value obj, Resource...
contexts) throws SailException {
+        super.addStatement(modify, subj, pred, obj, context);
+    }
+
+    @Override
     public CloseableIteration<? extends Resource, SailException> getContextIDs() throws
SailException {
         return new SingletonIteration<Resource, SailException>(context);
     }
 
     @Override
+    public void removeStatements(Resource subj, URI pred, Value obj, Resource... contexts)
throws SailException {
+        super.removeStatements(subj, pred, obj, context);
+    }
+
+    @Override
+    public void removeStatement(UpdateContext modify, Resource subj, URI pred, Value obj,
Resource... contexts) throws SailException {
+        super.removeStatement(modify, subj, pred, obj, context);
+    }
+
+    @Override
     public void clear(Resource... contexts) throws SailException {
         super.clear(context);
     }

http://git-wip-us.apache.org/repos/asf/incubator-marmotta/blob/dd498a5c/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/logging/LoggingServiceImpl.java
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/logging/LoggingServiceImpl.java
b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/logging/LoggingServiceImpl.java
index 95a0054..e964b8f 100644
--- a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/logging/LoggingServiceImpl.java
+++ b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/services/logging/LoggingServiceImpl.java
@@ -87,7 +87,7 @@ public class LoggingServiceImpl implements LoggingService {
         // set root logger level
         ch.qos.logback.classic.Logger rootLogger = (ch.qos.logback.classic.Logger) LoggerFactory.getLogger(org.slf4j.Logger.ROOT_LOGGER_NAME);
         if(configurationService.getBooleanConfiguration("debug.enabled",false)) {
-            rootLogger.setLevel(Level.DEBUG);
+            rootLogger.setLevel(Level.TRACE);
         } else {
             rootLogger.setLevel(Level.INFO);
         }


Mime
View raw message