[ 
https://issues.apache.org/jira/browse/IGNITE-23801?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vadim Pakhnushev updated IGNITE-23801:
--------------------------------------
    Description: 
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}


  was:
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}



> 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
>            Priority: Minor
>              Labels: ignite-3
>
> 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