shill: Reduce some of the noise in logs.
Changing log level of a couple of, er, logs.
BUG=chromium-os:36269
TEST=Inspection.
Change-Id: Ied25e41d0973e7cfb2d467e22884003429bea054
Reviewed-on: https://gerrit.chromium.org/gerrit/38206
Reviewed-by: Paul Stewart <pstew@chromium.org>
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Tested-by: Wade Guthrie <wdg@chromium.org>
Commit-Ready: Wade Guthrie <wdg@chromium.org>
diff --git a/wifi.cc b/wifi.cc
index bccd2c4..febb07b 100644
--- a/wifi.cc
+++ b/wifi.cc
@@ -935,13 +935,13 @@
// lose.
WiFiEndpointRefPtr endpoint(
new WiFiEndpoint(proxy_factory_, this, path, properties));
- LOG(INFO) << "Found endpoint. "
- << "RPC path: " << path << ", "
- << "ssid: " << endpoint->ssid_string() << ", "
- << "bssid: " << endpoint->bssid_string() << ", "
- << "signal: " << endpoint->signal_strength() << ", "
- << "security: " << endpoint->security_mode() << ", "
- << "frequency: " << endpoint->frequency();
+ SLOG(WiFi, 1) << "Found endpoint. "
+ << "RPC path: " << path << ", "
+ << "ssid: " << endpoint->ssid_string() << ", "
+ << "bssid: " << endpoint->bssid_string() << ", "
+ << "signal: " << endpoint->signal_strength() << ", "
+ << "security: " << endpoint->security_mode() << ", "
+ << "frequency: " << endpoint->frequency();
if (endpoint->ssid_string().empty()) {
// Don't bother trying to find or create a Service for an Endpoint
@@ -957,8 +957,8 @@
WiFiServiceRefPtr service = FindServiceForEndpoint(*endpoint);
if (service) {
- LOG(INFO) << "Assigned endpoint " << endpoint->bssid_string()
- << " to service " << service->friendly_name() << ".";
+ SLOG(WiFi, 1) << "Assigned endpoint " << endpoint->bssid_string()
+ << " to service " << service->friendly_name() << ".";
service->AddEndpoint(endpoint);
if (manager()->HasService(service)) {