From 49371411dc8e78469543729a5d22c04bbb368dfe Mon Sep 17 00:00:00 2001 From: "Destiny.Lin" Date: Fri, 16 Aug 2024 14:41:39 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-130377=20fbp=E9=80=9A=E8=BF=87demo?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E8=BF=98=E6=98=AF=E4=BC=9A=E8=BF=9B=E5=85=A5?= =?UTF-8?q?=E8=B5=B7=E5=A7=8B=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/fanruan/boot/init/DesignerInitComponent.java | 4 +++- .../src/main/java/com/fr/start/CarinaDesigner.java | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/designer-realize/src/main/java/com/fanruan/boot/init/DesignerInitComponent.java b/designer-realize/src/main/java/com/fanruan/boot/init/DesignerInitComponent.java index 18f6bdb670..1e67fa72c8 100644 --- a/designer-realize/src/main/java/com/fanruan/boot/init/DesignerInitComponent.java +++ b/designer-realize/src/main/java/com/fanruan/boot/init/DesignerInitComponent.java @@ -58,7 +58,9 @@ public class DesignerInitComponent { @NotNull @Override protected StartupArgs compute() { - return Carina.getApplicationContext().singleton(StartupArgsShell.class).get(); + StartupArgs startupArgs = Carina.getApplicationContext().singleton(StartupArgsShell.class).get(); + FineLoggerFactory.getLogger().info("[designer init args : {} ]", startupArgs); + return startupArgs; } }; diff --git a/designer-realize/src/main/java/com/fr/start/CarinaDesigner.java b/designer-realize/src/main/java/com/fr/start/CarinaDesigner.java index fb0088e3b4..b5077eb1cd 100644 --- a/designer-realize/src/main/java/com/fr/start/CarinaDesigner.java +++ b/designer-realize/src/main/java/com/fr/start/CarinaDesigner.java @@ -17,6 +17,7 @@ import com.fr.start.common.DesignerStartupContext; import com.fr.start.module.StartupArgs; import com.fr.start.server.ServletContextWrapper; +import java.util.Arrays; import java.util.Properties; import java.util.concurrent.TimeUnit; @@ -45,6 +46,7 @@ public class CarinaDesigner extends MainDesigner{ Carina.setPartitionManager(manager); DesignLauncher.setContext(carinaApplicationContext); Carina.getApplicationContext().singleton(StartupArgsShell.class).set(new StartupArgs(args)); + FineLoggerFactory.getLogger().info("start args : {} ", Arrays.toString(args)); Carina.getApplicationContext().singleton(LaunchType.class).set(LaunchType.DESIGNER); DesignLauncher launch = new DesignLauncher("/com/fr/config/starter/designer-startup-carina.xml"); FineRuntime.start();