Vadim Pakhnushev created IGNITE-23801:
-----------------------------------------

             Summary: Hocon configuration source should use synthetic key name 
in logs
                 Key: IGNITE-23801
                 URL: https://issues.apache.org/jira/browse/IGNITE-23801
             Project: Ignite
          Issue Type: Improvement
          Components: configuration
            Reporter: Vadim Pakhnushev
            Assignee: Vadim Pakhnushev


When parsing HOCON configuration, value of the injected name field should be 
used instead of the field name in the logs to reduce confusion, currently it 
looks like this:
{noformat}
[node]> node config update ignite.nodeAttributes.nodeAttributes=[{name=bar, 
attr=foo},{name=qux, attr=baz}]
'ignite.nodeAttributes.nodeAttributes.name' configuration doesn't have the 
'attr' sub-configuration
{noformat}
It's unclear which object has an error.
The error should look like this:
{noformat}
'ignite.nodeAttributes.nodeAttributes.foo' configuration doesn't have the 
'attr' sub-configuration
{noformat}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to