From 5792af50b936183174d74425b9cebe04e948227b Mon Sep 17 00:00:00 2001 From: hexiaofeng Date: Wed, 18 Dec 2024 13:51:47 +0800 Subject: [PATCH] add log --- .../main/java/com/jd/live/agent/bootstrap/LiveAgent.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/joylive-bootstrap/joylive-bootstrap-premain/src/main/java/com/jd/live/agent/bootstrap/LiveAgent.java b/joylive-bootstrap/joylive-bootstrap-premain/src/main/java/com/jd/live/agent/bootstrap/LiveAgent.java index 1fc7ad07..e1caa50e 100644 --- a/joylive-bootstrap/joylive-bootstrap-premain/src/main/java/com/jd/live/agent/bootstrap/LiveAgent.java +++ b/joylive-bootstrap/joylive-bootstrap-premain/src/main/java/com/jd/live/agent/bootstrap/LiveAgent.java @@ -135,9 +135,10 @@ private static synchronized void launch(String arguments, Instrumentation instru return; } else { logger.log(Level.INFO, "[LiveAgent] main class " + ctx.mainClass - + "\nif you do not want to enhance this application," - + "you can append this main class to \"agent.enhance.excludeApp\" in " - + new File(ctx.configDir, "bootstrap.properties")); + + "\nif you do not want to enhance this application, " + + "\nyou can append this main class to \"agent.enhance.excludeApp\" in " + + new File(ctx.configDir, "bootstrap.properties") + + "\nor contact you administrator to update the default value."); } // Load system libraries and set up the class loader.