diff --git a/pom.xml b/pom.xml
index cfd1cde..59131d5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
com.sunyard.sge.database
sydapi-database
- 1.1
+ 1.0
sydapi-database
diff --git a/src/test/java/test/FuncTest.java b/src/test/java/test/FuncTest.java
index 7481e90..dfb87bd 100644
--- a/src/test/java/test/FuncTest.java
+++ b/src/test/java/test/FuncTest.java
@@ -51,7 +51,6 @@ public class FuncTest {
public void originLong() throws Exception {
SydApiBuilder builder = new SydApiBuilder(new String[]{"192.168.0.200"}, new int[]{8889}, 10, 15);
SydApi.SYD_SetLogConfig("./logs/",3);
- Logger log = LogFactory.getLogger();
final SydApi api = builder.build();
for (int i = 0; i < 1000; i++) {
int tmp = i;
@@ -67,7 +66,6 @@ public class FuncTest {
@Test
public void originShort() throws Exception {
SydApi.SYD_SetLogConfig("./logs/",3);
- Logger log = LogFactory.getLogger();
String[] pcipList = {"192.168.0.100", "192.168.0.100", "192.168.0.100","192.168.0.100" };
int[] iportList ={8080,8889,8889,8889};
diff --git a/src/test/java/test/LogTest.java b/src/test/java/test/LogTest.java
index ab8faa5..88ce94a 100644
--- a/src/test/java/test/LogTest.java
+++ b/src/test/java/test/LogTest.java
@@ -15,9 +15,7 @@ public class LogTest {
threads[i] = new Thread(new Runnable() {
@Override
public void run() {
- SydLogger logger = SydLogFactory.getLogger();
for (int i = 0; i < max; i++) {
- logger.debug("tttttttttttttttt");
}
}
});
@@ -39,10 +37,6 @@ public class LogTest {
public static void main(String[] args) {
- Logger log = LogFactory.createLogger("./test-log/", 3);
- log.error("error");
- log.info("info");
- log.debug("debug");
System.out.println(new byte[0].length);
}