summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Mick <dan.mick@inktank.com>2013-11-06 01:11:10 +0100
committerDan Mick <dan.mick@inktank.com>2013-11-06 01:20:50 +0100
commitc22c84a88c22688b6044ab37f65a3fe40dfe1983 (patch)
tree18b05f9c27d9ff45beb405c93229da5ffef2e9ff
parentFileStore::_collection_move_rename: handle missing dst dir on replay (diff)
downloadceph-c22c84a88c22688b6044ab37f65a3fe40dfe1983.tar.xz
ceph-c22c84a88c22688b6044ab37f65a3fe40dfe1983.zip
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 <dan.mick@inktank.com>
-rw-r--r--src/tools/osdmaptool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/osdmaptool.cc b/src/tools/osdmaptool.cc
index 2e55026076c..edd31284c4d 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;