Skip to contentSkip to conversation

Why does crushtool send all it's output to stderr?

DISCUSSION Wido den Hollander 2 participants 2 messages Jul 17, 2014

lore
Share & tools
lore
#0 lore raw

Hi,

When running tests on a crushmap with crushtool it noticed that all output is send to stderr, for example:

$ crushtool -i cm --test --rule 4 --num-rep 3 --show-statistics

All the output goes to stderr while I think stdout would be a better place.

Any good reason for this?

Signature · 6 lines
Wido den Hollander
42on B.V.
Ceph trainer and consultant

Phone: +31 (0)20 700 9902
Skype: contact42on
#1 lore raw
Quoted 10 lines · Wido den Hollander

Hi,

When running tests on a crushmap with crushtool it noticed that all output is send to stderr, for example:

$ crushtool -i cm --test --rule 4 --num-rep 3 --show-statistics

All the output goes to stderr while I think stdout would be a better place.

Any good reason for this?

Nope! There's a lot that could be improved here from a UX standpoint, I think. :)

sage