diff options
author | Dan Mick <dan.mick@inktank.com> | 2013-11-06 01:11:10 +0100 |
---|---|---|
committer | Dan Mick <dan.mick@inktank.com> | 2013-11-06 01:20:50 +0100 |
commit | c22c84a88c22688b6044ab37f65a3fe40dfe1983 (patch) | |
tree | 18b05f9c27d9ff45beb405c93229da5ffef2e9ff | |
parent | FileStore::_collection_move_rename: handle missing dst dir on replay (diff) | |
download | ceph-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.cc | 2 |
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; |