Commit 24d981f9 by tangzy

删除无用的log

parent e38f1a14
......@@ -108,6 +108,21 @@
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/eibs-pojosupport-2.0.0.jar</systemPath>
</dependency>
<dependency>
<groupId>org.sss</groupId>
<artifactId>eibs-hibernatesupport</artifactId>
<version>2.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/eibs-hibernatesupport-2.0.0.jar</systemPath>
</dependency>
<dependency>
<groupId>cfca.integration</groupId>
<artifactId>SADK</artifactId>
<version>3.2.0.5</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/SADK-3.2.0.5.jar</systemPath>
</dependency>
<!-- <dependency>
<groupId>org.sss</groupId>
<artifactId>eibs-pojosupport</artifactId>
......@@ -299,7 +314,7 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
......@@ -313,11 +328,6 @@
<version>${log4j2.version}</version>
</dependency>
<dependency>
<groupId>cfca.integration</groupId>
<artifactId>SADK</artifactId>
<version>3.2.0.5</version>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid</artifactId>
<version>1.1.23</version>
......
......@@ -46,25 +46,25 @@ public class RedisUtil {
public static RedisTemplate<String, Object> getRedisConnection() {
if (master.equals("redisAPA")) {
log.info("getRedisMaster redisAPA1");
// log.info("getRedisMaster redisAPA1");
if (getRedisMaster(redisAPA)) {
log.info("getRedisMaster redisAPA");
setMaster("redisAPA");
return redisAPA;
} else {
log.info("getRedisMaster redisAPB");
// log.info("getRedisMaster redisAPB");
setMaster("redisAPB");
}
}
if (master.equals("redisAPB")) {
log.info("getRedisMaster redisAPB1");
// log.info("getRedisMaster redisAPB1");
if (getRedisMaster(redisAPB)) {
setMaster("redisAPB");
log.info("getRedisMaster redisAPB");
return redisAPB;
} else {
setMaster("redisAPA");
log.info("getRedisMaster redisAPA");
// log.info("getRedisMaster redisAPA");
}
}
return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment