Skip to content

--log-format json should only return json, also --log-format always uses the same format, despite the argument. #1199

@danbryan

Description

@danbryan

Example:

rly q balance akash --log-format json

returns...

address {akash1x9fxqdkg4rumkzrck8t3qnhm30jgfsx90ch7fq} balance {38631732uakt}

which is not valid json

Furthermore, it doesn't seem the --log-format does anything. All 3 of these formats are the same.

~ $ rly q balance akash --log-format json
address {akash1x9fxqdkg4rumkzrck8t3qnhm30jgfsx90ch7fq} balance {38631732uakt} 
~ $ rly q balance akash --log-format console
address {akash1x9fxqdkg4rumkzrck8t3qnhm30jgfsx90ch7fq} balance {38631732uakt} 
~ $ rly q balance akash --log-format logfmt
address {akash1x9fxqdkg4rumkzrck8t3qnhm30jgfsx90ch7fq} balance {38631732uakt}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions