将日志完整删除
This commit is contained in:
parent
6e54421b93
commit
6292e2e283
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.sunyard.sge.database</groupId>
|
||||
<artifactId>sydapi-database</artifactId>
|
||||
<version>1.1</version>
|
||||
<version>1.0</version>
|
||||
|
||||
<name>sydapi-database</name>
|
||||
|
||||
|
||||
@ -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};
|
||||
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user