From c22c84a88c22688b6044ab37f65a3fe40dfe1983 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 5 Nov 2013 16:11:10 -0800 Subject: [PATCH] osdmaptool: don't put progress on stdout If one requests JSON output, the progress message pollutes the output; don't do that, send it to stderr instead Signed-off-by: Dan Mick --- src/tools/osdmaptool.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/osdmaptool.cc b/src/tools/osdmaptool.cc index 2e55026076c32..edd31284c4d4f 100644 --- a/src/tools/osdmaptool.cc +++ b/src/tools/osdmaptool.cc @@ -156,7 +156,7 @@ int main(int argc, const char **argv) OSDMap osdmap; bufferlist bl; - cout << me << ": osdmap file '" << fn << "'" << std::endl; + cerr << me << ": osdmap file '" << fn << "'" << std::endl; int r = 0; struct stat st; -- 2.39.5