nghttpx: Silence logging

This commit is contained in:
Tatsuhiro Tsujikawa 2016-06-16 22:12:42 +09:00
parent 6f025619de
commit 50c9c3358a
1 changed files with 4 additions and 1 deletions

View File

@ -2934,10 +2934,13 @@ int configure_downstream_group(Config *config, bool http2_proxy,
LOG(FATAL) << "Resolving backend address failed: " << hostport; LOG(FATAL) << "Resolving backend address failed: " << hostport;
return -1; return -1;
} }
LOG(NOTICE) << "Resolved backend address: " << hostport << " -> "
if (LOG_ENABLED(INFO)) {
LOG(INFO) << "Resolved backend address: " << hostport << " -> "
<< util::to_numeric_addr(&addr.addr); << util::to_numeric_addr(&addr.addr);
} }
} }
}
return 0; return 0;
} }