jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [34/41] jena git commit: Update for deprecated operations
Date Mon, 03 Oct 2016 10:36:06 GMT
Update for deprecated operations


Project: http://git-wip-us.apache.org/repos/asf/jena/repo
Commit: http://git-wip-us.apache.org/repos/asf/jena/commit/4af22a67
Tree: http://git-wip-us.apache.org/repos/asf/jena/tree/4af22a67
Diff: http://git-wip-us.apache.org/repos/asf/jena/diff/4af22a67

Branch: refs/heads/master
Commit: 4af22a6752107df2c7f76c6278cb7aacea8f966a
Parents: 8d1e0a3
Author: Andy Seaborne <andy@apache.org>
Authored: Sun Oct 2 11:48:47 2016 +0100
Committer: Andy Seaborne <andy@apache.org>
Committed: Sun Oct 2 11:54:05 2016 +0100

----------------------------------------------------------------------
 .../src/test/java/org/apache/jena/fuseki/TestAuth.java         | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jena/blob/4af22a67/jena-fuseki1/src/test/java/org/apache/jena/fuseki/TestAuth.java
----------------------------------------------------------------------
diff --git a/jena-fuseki1/src/test/java/org/apache/jena/fuseki/TestAuth.java b/jena-fuseki1/src/test/java/org/apache/jena/fuseki/TestAuth.java
index 9e5d372..0452b72 100644
--- a/jena-fuseki1/src/test/java/org/apache/jena/fuseki/TestAuth.java
+++ b/jena-fuseki1/src/test/java/org/apache/jena/fuseki/TestAuth.java
@@ -85,9 +85,9 @@ public class TestAuth {
             writer.write("forbidden: password, other");
         }
 
-        LogCtl.logLevel(Fuseki.serverLog.getName(), org.apache.log4j.Level.WARN, java.util.logging.Level.WARNING);
-        LogCtl.logLevel(Fuseki.requestLog.getName(), org.apache.log4j.Level.WARN, java.util.logging.Level.WARNING);
-        LogCtl.logLevel("org.eclipse.jetty", org.apache.log4j.Level.WARN, java.util.logging.Level.WARNING);
+        LogCtl.setLevel(Fuseki.serverLog.getName(), "WARN");
+        LogCtl.setLevel(Fuseki.requestLog.getName(), "WARN");
+        LogCtl.setLevel("org.eclipse.jetty", "WARN");
 
         DatasetGraph dsg = DatasetGraphFactory.create();
         // This must agree with ServerTest


Mime
View raw message