diff --git a/code/java/DisasterWarning/src/main/java/AppMain.java b/code/java/DisasterWarning/src/main/java/AppMain.java index a5017c3..c71e3e6 100644 --- a/code/java/DisasterWarning/src/main/java/AppMain.java +++ b/code/java/DisasterWarning/src/main/java/AppMain.java @@ -2,7 +2,7 @@ * @Author: Kane * @Date: 2022-04-22 10:53:49 * @LastEditors: Kane - * @LastEditTime: 2022-05-06 11:08:07 + * @LastEditTime: 2022-05-06 17:21:27 * @FilePath: \DisasterWarning\src\main\java\AppMain.java * @Description: 和风天气预警推送厦门太保公众号主程序! * @@ -133,6 +133,7 @@ public class AppMain consoleHandler.setFormatter( formatter ); fileHandler.setFormatter( formatter ); + rootLogger.addHandler( consoleHandler ); rootLogger.addHandler( fileHandler );