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: v15.2.4~42^2~99 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8e1201d14706106ff02e9d8dcdf68c03c4fef0e9;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 (cherry picked from commit e48a20076274174705c5e6efde3730e993a0538d) --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 527de3e5715..d4f3d73442d 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -1666,7 +1666,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;