From c502b0df068419c7d6dd1dc66dbd6e87e5c881db Mon Sep 17 00:00:00 2001 From: defnax Date: Mon, 30 Oct 2023 22:43:17 +0100 Subject: [PATCH] coloring hidden outputs --- retroshare-service/src/retroshare-service.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/retroshare-service/src/retroshare-service.cc b/retroshare-service/src/retroshare-service.cc index 9830a56f5..1ae2506da 100644 --- a/retroshare-service/src/retroshare-service.cc +++ b/retroshare-service/src/retroshare-service.cc @@ -312,13 +312,13 @@ int main(int argc, char* argv[]) RsTor::getHiddenServiceInfo(service_id,onion_address,service_port,service_target_address,service_target_port); RsTor::getProxyServerInfo(proxy_server_address,proxy_server_port) ; - std::cerr << " onion address : " << onion_address << std::endl; - std::cerr << " service_id : " << service_id << std::endl; - std::cerr << " service port : " << service_port << std::endl; - std::cerr << " target port : " << service_target_port << std::endl; - std::cerr << " target address : " << service_target_address << std::endl; + std::cerr << "\033[0;32" " onion address : " "\033[0m" << onion_address << std::endl; + std::cerr << "\033[0;32" " service_id : " "\033[0m" << service_id << std::endl; + std::cerr << "\033[0;32" " service port : " "\033[0m" << service_port << std::endl; + std::cerr << "\033[0;32" " target port : " "\033[0m" << service_target_port << std::endl; + std::cerr << "\033[0;32" " target address : " "\033[0m" << service_target_address << std::endl; - std::cerr << "Setting proxy server to " << service_target_address << ":" << service_target_port << std::endl; + std::cerr << "\033[0;32" "Setting proxy server to " "\033[0m" << service_target_address << ":" << service_target_port << std::endl; rsPeers->setLocalAddress(rsPeers->getOwnId(), service_target_address, service_target_port); rsPeers->setHiddenNode(rsPeers->getOwnId(), onion_address, service_port);