mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-28 18:50:53 +00:00
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:
Notes:
Pekka Enberg
2016-05-06 13:26:01 +03:00
backport: 1.1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user