commit | 03c15ce0583d0c89bbd762b1140ace8d537c7625 | [log] [tgz] |
---|---|---|
author | mukesh agrawal <quiche@chromium.org> | Thu Nov 29 17:36:21 2012 -0800 |
committer | Gerrit <chrome-bot@google.com> | Fri Nov 30 12:10:53 2012 -0800 |
tree | e44815bc39dff518747880c44cdf441abd8b0ac7 | |
parent | ae41caf8884c8278a31624acb737eec28c59a181 [diff] |
shill: reduce logspam due to autoconnect It's quite normal, and frequent, for an autoconnect request (from the Manager, to a Service), to be supressed because a) we're already connected to that Service, or b) the Device needed by this Service is busy. Reduce log-spam by logging those cases with SLOG at level 1, rather than at LOG_INFO. Checking a couple of the log files on one of my Chromebooks, this would reduce the number of shill log lines by 7-8%. While there: consolidate the kAutoConnConnected string into Service. (It was previously defined independently in WiFiService and WiMaxService.) BUG=chromium-os:31143 TEST=unit tests Change-Id: Ifc94e1357674999e65eb7b3ec98f6381ea59fc0d Reviewed-on: https://gerrit.chromium.org/gerrit/38974 Reviewed-by: Paul Stewart <pstew@chromium.org> Reviewed-by: Darin Petkov <petkov@chromium.org> Commit-Ready: mukesh agrawal <quiche@chromium.org> Tested-by: mukesh agrawal <quiche@chromium.org>