{"record":{"id":"fb94aaf925c30c8e","repo":"pinpoint-apm/pinpoint","slug":"agentoption","errorCode":null,"errorMessage":"AgentOption : {}","messagePattern":"AgentOption : (.+?)","errorType":"console","errorClass":null,"httpStatus":null,"severity":"info","filePath":"agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/DefaultAgent.java","lineNumber":136,"sourceCode":"        } catch (ObjectNameValidationFailedException e) {\n            System.err.printf(\"ObjectName validation failed %s %s\", e.getAgentIdType(), e.getMessage());\n            throw e;\n        }\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\");","sourceCodeStart":118,"sourceCodeEnd":154,"githubUrl":"https://github.com/pinpoint-apm/pinpoint/blob/744c3d3075e595656abb1ae331ad2c0e4c9eb996/agent-module/profiler/src/main/java/com/navercorp/pinpoint/profiler/DefaultAgent.java#L118-L154","documentation":"Not an exception: this is a WARN-level log line emitted by DefaultAgent.dumpAgentOption when the Pinpoint agent starts. It prints the simple class name of the agent's JMX ObjectName (e.g. ObjectNameV4) as a header for the agent option dump. Seeing it simply means the agent booted and logged its configuration for diagnostics.","triggerScenarios":"Every agent startup that reaches dumpAgentOption(AgentContextOption) — DefaultAgent constructor/start path calls it unconditionally to log the resolved ObjectName.","commonSituations":"Appears in startup logs during normal Pinpoint agent boot; frequently pasted into issue reports while debugging misconfigured agentId/applicationName.","solutions":["No fix required; this line is informational.","If the class name printed is unexpected, check pinpoint.config for v3/v4 ObjectName settings (service name / apikey fields).","Adjust log level (log4j2) for com.navercorp.pinpoint.profiler if you want to suppress startup dumps."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":["Treat 'AgentOption :' log lines as expected startup output, not failures.","Point this logger at a dedicated startup/diagnostics appender if the noise bothers you."],"tags":["logging","agent-startup","diagnostics"],"backgroundTag":null,"analyzedSha":"744c3d3075e595656abb1ae331ad2c0e4c9eb996","analyzedAt":"2026-09-07T18:48:45.289Z","contentChangedAt":"2026-09-07T18:48:45.289Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}