Error parsing node-config.yaml file while starting jormungandr

Hi all,
I have problem with config file node-config.yaml () and parsing it (while runing jormungandr, version 0.7.2)
I noticed that problem is with section:
“log”: {
“format”: “plain”,
“level”: “info”,
“output”: “stderr”
},

with that section I get error:
Error in the overall configuration of the node

  • |-> Error while parsing the node configuration file: log: invalid type: map, expected a sequence at line 2 column 10*
  • |-> log: invalid type: map, expected a sequence at line 2 column 10*

If I remove the log section, everything is ok (Instead I must add log option as jormungandr parameter)

My node-config.yaml is :
{
“log”: {
“format”: “plain”,
“level”: “info”,
“output”: “stderr”
},
“p2p”: {
“topics_of_interest”: {
“blocks”: “normal”,
“messages”: “low”
},
“trusted_peers”: [
{
“address”: “/ip4/52.9.85.113/tcp/3000”,
“id”: “7f47c880339670ad98d38ad3b379e1f7853479f8ef4f6fc7”
},
{
“address”: “/ip4/13.57.72.175/tcp/3000”,
“id”: “b8b20f58b34dd7a485c8cff0d67f800149b1ff220b826632”
},
{
“address”: “/ip4/52.8.62.219/tcp/3000”,
“id”: “f51aa0ce82b7f061e12762bd22b84424129f690655441b8e”
},
{
“address”: “/ip4/52.194.124.233/tcp/3000”,
“id”: “255df5de725cd9d1087b8a3e4ff66d65572c36ceed791679”
},
{
“address”: “/ip4/52.197.220.18/tcp/3000”,
“id”: “50768a0bb41781baa551cd96fb46a62e666e97874bca1cf5”
},
{
“address”: “/ip4/3.125.20.154/tcp/3000”,
“id”: “ddfea960bc2fe1aa45af9b385b6bd3e949c050df61b5b451”
},
{
“address”: “/ip4/3.124.255.35/tcp/3000”,
“id”: “2b7216b51b890ef1e8ade8e513dd6f2b35173e46b08ac1a9”
}
]
},
“rest”: {
“listen”: “127.0.0.1:3101”
}
}
and I’m using that: https://hydra.iohk.io/build/1399614

Thanks in advance for help.

@Bohenicus_Felis To get your issue resolved faster, post this issue in the stake pool Telegram channel below:
@CardanoStakePoolWorkgroup

1 Like

Try this:

“log”:
[
{
“format”: “plain”,
“level”: “info”,
“output”: “stderr”
}
],

2 Likes

thx very much.
It’s working now.

If I used this format, I would receive an error when starting node:

 failed to download block, error: GetBlocksStream { source: Error { code: InvalidArgument, source: Custom { kind: InvalidInput, error: StructureInvalid("Invalid config parameter tag") } }