the period's json output is written to stdout. any other messages should
be written to stderr
Signed-off-by: Casey Bodley <cbodley@redhat.com>
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<RGWRESTConn> conn;
RGWRESTConn *remote_conn = nullptr;