Skip to content

Commit

Permalink
[#noissue] Add AgentOption to console logging
Browse files Browse the repository at this point in the history
  • Loading branch information
emeroad committed Feb 3, 2025
1 parent b055f08 commit 64367bc
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,11 @@ private void saveSystemConfig(AgentContextOption option) {
}

private void dumpAgentOption(AgentContextOption agentOption) {
logger.info("AgentOption");
logger.info("- agentId:{}", agentOption.getAgentId());
logger.info("- applicationName:{}", agentOption.getApplicationName());
logger.info("- agentName:{}", agentOption.getAgentName());
logger.info("- instrumentation:{}", agentOption.getInstrumentation());
logger.warn("AgentOption");
logger.warn("- agentId: {}", agentOption.getAgentId());
logger.warn("- agentName: {}", agentOption.getAgentName());
logger.warn("- applicationName: {}", agentOption.getApplicationName());
logger.info("- instrumentation: {}", agentOption.getInstrumentation());
}

private LoggingSystem newLoggingSystem(Path agentPath) {
Expand Down

0 comments on commit 64367bc

Please sign in to comment.