From: Sage Weil Date: Wed, 28 Sep 2011 20:54:37 +0000 (-0700) Subject: ceph: make --concise hide 'N byte written' message X-Git-Tag: v0.36~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7eb15ce27ee69fc4555c6b493eeead735f97f550;p=ceph.git ceph: make --concise hide 'N byte written' message Signed-off-by: Sage Weil --- diff --git a/src/tools/ceph.cc b/src/tools/ceph.cc index d6026390241..b00685b6b79 100644 --- a/src/tools/ceph.cc +++ b/src/tools/ceph.cc @@ -195,7 +195,8 @@ int main(int argc, const char **argv) << cpp_strerror(err) << dendl; goto out; } - derr << " wrote " << obl.length() << " byte payload to " << out_file << dendl; + if (!concise) + cout << " wrote " << obl.length() << " byte payload to " << out_file << std::endl; } } }