|
@@ -14,8 +14,6 @@ import org.springframework.context.annotation.ComponentScan;
|
|
|
@ComponentScan(basePackages = {"com.book.dao","com.book.server"})
|
|
|
public class Application implements CommandLineRunner {
|
|
|
public static void main(String[] args) {
|
|
|
- //日志异步
|
|
|
- System.setProperty("Log4jContextSelector", "org.apache.logging.log4j.core.async.AsyncLoggerContextSelector");
|
|
|
SpringApplication.run(Application.class);
|
|
|
}
|
|
|
|