diff --git a/im-entry/pom.xml b/im-entry/pom.xml
index 8f94ca9..e5f4fb7 100644
--- a/im-entry/pom.xml
+++ b/im-entry/pom.xml
@@ -33,6 +33,26 @@
org.springframework.boot
spring-boot-starter
+
+
+ org.springframework.boot
+ spring-boot-starter-logging
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-log4j2
+
+
+ com.fasterxml.jackson.core
+ jackson-databind
+
+
+ com.fasterxml.jackson.datatype
+ jackson-datatype-jsr310
+
+
org.apache.dubbo
diff --git a/im-entry/src/main/java/net/sopod/soim/entry/EntryApplication.java b/im-entry/src/main/java/net/sopod/soim/entry/EntryApplication.java
index c8f893a..bfa0f6d 100644
--- a/im-entry/src/main/java/net/sopod/soim/entry/EntryApplication.java
+++ b/im-entry/src/main/java/net/sopod/soim/entry/EntryApplication.java
@@ -14,7 +14,13 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class EntryApplication {
+ private static final Logger logger = LoggerFactory.getLogger(EntryApplication.class);
+
public static void main(String[] args) {
+ logger.info("二狗腿子:{}", 1);
+ logger.info("二狗腿子:{}", 2);
+ logger.info("二狗腿子:{}", 3);
+ System.out.println("狗腿子4");
SpringApplication.run(EntryApplication.class, args);
}
diff --git a/pom.xml b/pom.xml
index 6b13fe1..92e15c4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -116,8 +116,11 @@
org.springframework.boot
spring-boot-starter
${spring-boot.version}
-
-
+
+
+ org.springframework.boot
+ spring-boot-starter-log4j2
+ ${spring-boot.version}
org.apache.dubbo