{"record":{"id":"833525d4ba6e62d9","repo":"pinpoint-apm/pinpoint","slug":"applicationname","errorCode":null,"errorMessage":"- applicationName: {}","messagePattern":"- applicationName: (.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"info","filePath":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/DefaultAgent.java","lineNumber":139,"sourceCode":"        }\n    }\n\n    protected AgentContextOption buildContextOption(AgentOption agentOption, ObjectName objectName, ProfilerConfig profilerConfig) {\n        return AgentContextOptionBuilder.build(agentOption, objectName, profilerConfig);\n    }\n\n    private AgentSystemConfig agentSystemConfig(ObjectName objectName) {\n        AgentSystemConfig agentSystemConfig = new AgentSystemConfig(objectName.getAgentId(), Version.VERSION);\n        agentSystemConfig.dump(System.getProperties());\n        return agentSystemConfig;\n    }\n\n    private void dumpAgentOption(AgentContextOption agentOption) {\n        final ObjectName objectName = agentOption.getObjectName();\n        logger.warn(\"AgentOption : {}\", objectName.getClass().getSimpleName());\n        logger.warn(\"- agentId: {}\", objectName.getAgentId());\n        logger.warn(\"- agentName: {}\", objectName.getAgentName());\n        logger.warn(\"- applicationName: {}\", objectName.getApplicationName());\n        if (objectName instanceof ObjectNameV4) {\n            ObjectNameV4 v4 = (ObjectNameV4) objectName;\n            logger.warn(\"- serviceName: {}\", objectName.getServiceName());\n            logger.warn(\"- apikey: {}\", MaskUtils.masking(v4.getApiKey(), 2));\n        }\n        logger.info(\"- instrumentation: {}\", agentOption.getInstrumentation());\n    }\n\n\n    private LoggingSystem newLoggingSystem(Path agentPath) {\n        return Log4j2LoggingSystem.searchPath(agentPath);\n    }\n\n    protected ApplicationContext newApplicationContext(AgentContextOption agentOption) {\n        Objects.requireNonNull(agentOption, \"agentOption\");\n        ProfilerConfig profilerConfig = Objects.requireNonNull(agentOption.getProfilerConfig(), \"profilerConfig\");\n\n        String factoryClazzName = getInjectionModuleFactoryClazzName(profilerConfig);","sourceCodeStart":121,"sourceCodeEnd":157,"githubUrl":"https://github.com/pinpoint-apm/pinpoint/blob/744c3d3075e595656abb1ae331ad2c0e4c9eb996/agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/DefaultAgent.java#L121-L157","documentation":"WARN log line from dumpAgentOption printing the applicationName resolved from the ObjectName. Informational startup dump used to confirm the application identity the agent will report to the collector.","triggerScenarios":"Agent startup, always emitted in the option dump block.","commonSituations":"Verifying the applicationName matches the expected Pinpoint application; debugging cases where traces appear under the wrong application due to a stale or wrong config.","solutions":["No action needed if the value is correct.","If wrong, correct applicationName in pinpoint.config or -Dpinpoint.applicationName and restart.","Keep applicationName stable across instances of the same service so traces aggregate correctly."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"String appName = System.getProperty(\"pinpoint.applicationName\");\nif (appName == null || appName.isEmpty()) throw new IllegalStateException(\"applicationName required\");","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Confirm the dumped applicationName equals the application you expect traces under.","Never change applicationName between deploys of the same service without planning for the new app entry."],"tags":["logging","agent-startup","configuration"],"backgroundTag":null,"analyzedSha":"744c3d3075e595656abb1ae331ad2c0e4c9eb996","analyzedAt":"2026-09-07T18:48:45.289Z","contentChangedAt":"2026-09-07T18:48:45.289Z","schemaVersion":2},"datasetVersion":"2026-09-14T11:17:12.474Z"}