shill: Convert netlink code to use scoped logging
Currently this code uses VLOG(), so trying to debug a completely
different module will still fill up net.log with RTNL debug prints:
ff_debug +vpn
ff_debug --level -5
Change the net/ code to use SLOG() instead of VLOG(), with scope "rtnl".
This change will only take effect for the in-shill copy of the code;
libshill-net will continue to use VLOG() because library users do not
implement shill's scoped logging scheme.
BUG=chromium:817210
TEST=manually try different loglevels
Change-Id: Iad5c0316a871a90a13705a8cfd42add9b61ab669
Reviewed-on: https://chromium-review.googlesource.com/947045
Commit-Ready: Kevin Cernekee <cernekee@chromium.org>
Tested-by: Kevin Cernekee <cernekee@chromium.org>
Reviewed-by: Matthew Wang <matthewmwang@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
9 files changed