From 5339c1774c248aa036aaaebbbf7924575bab807d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 16 Apr 2016 22:04:35 +0900 Subject: [PATCH] nghttpx: Log when backend group is shared --- src/shrpx_worker.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/shrpx_worker.cc b/src/shrpx_worker.cc index f23b6b7f..45778a7a 100644 --- a/src/shrpx_worker.cc +++ b/src/shrpx_worker.cc @@ -181,6 +181,10 @@ Worker::Worker(struct ev_loop *loop, SSL_CTX *sv_ssl_ctx, SSL_CTX *cl_ssl_ctx, if (it == end) { dst.shared_addr = shared_addr; } else { + if (LOG_ENABLED(INFO)) { + LOG(INFO) << dst.pattern << " shares the same backend group with " + << (*it).pattern; + } dst.shared_addr = (*it).shared_addr; } }