From: Casey Bodley Date: Mon, 4 May 2020 20:36:16 +0000 (-0400) Subject: radosgw-admin: period commit writes messages to stderr X-Git-Tag: v16.1.0~2414^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e48a20076274174705c5e6efde3730e993a0538d;p=ceph.git radosgw-admin: period commit writes messages to stderr the period's json output is written to stdout. any other messages should be written to stderr Signed-off-by: Casey Bodley --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index a1a011e0153..e3289198a70 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -1657,7 +1657,7 @@ static int commit_period(RGWRealm& realm, RGWPeriod& period, if (remote.empty() && url.empty()) { // use the new master zone's connection remote = master_zone.id; - cout << "Sending period to new master zone " << remote << std::endl; + cerr << "Sending period to new master zone " << remote << std::endl; } boost::optional conn; RGWRESTConn *remote_conn = nullptr;