messaging_service: Add logging to match origin

To announce rpc port + ssl if on.

Message-Id: <1462368016-32394-1-git-send-email-calle@scylladb.com>
This commit is contained in:
Calle Wilund
2016-05-04 13:20:15 +00:00
committed by Avi Kivity
parent b8277979ef
commit d8ea85cd90
Notes: Pekka Enberg 2016-05-06 13:26:01 +03:00
backport: 1.1

View File

@@ -255,6 +255,13 @@ messaging_service::messaging_service(gms::inet_address ip
ci.attach_auxiliary("src_cpu_id", src_cpu_id);
return rpc::no_wait;
});
// Do this on just cpu 0, to avoid duplicate logs.
if (engine().cpu_id() == 0) {
if (_server_tls) {
logger.info("Starting Encrypted Messaging Service on SSL port {}", _ssl_port);
}
logger.info("Starting Messaging Service on port {}", _port);
}
}
msg_addr messaging_service::get_source(const rpc::client_info& cinfo) {