[shill] Use base/logging.h, but with syslog support.
Also, go to base/command_line.h; I love gflags, but base/logging.h requires CommandLine, and having two
ways to handle command line flags seems bad. cros-disks does it, though...
BUG=None
TEST=unit tests
Change-Id: I2a88926366d324a102dfe50583d244c49f33af08
Reviewed-on: http://gerrit.chromium.org/gerrit/602
Reviewed-by: Chris Masone <cmasone@chromium.org>
Tested-by: Chris Masone <cmasone@chromium.org>
diff --git a/shill_daemon.cc b/shill_daemon.cc
index 91175bc..f9511ad 100644
--- a/shill_daemon.cc
+++ b/shill_daemon.cc
@@ -9,7 +9,8 @@
#include <string>
#include <vector>
-#include "shill/shill_logging.h"
+#include <base/logging.h>
+
#include "shill/shill_daemon.h"
#include "shill/control_interface.h"
#include "shill/dbus_control.h"
@@ -35,7 +36,8 @@
void Daemon::Run() {
GMainLoop* loop = g_main_loop_new(NULL, false);
- SHILL_LOG(INFO, SHILL_LOG_DAEMON) << "Running main loop.";
+ // TODO(cmasone): change this to VLOG(1) once we have it.
+ LOG(INFO) << "Running main loop.";
g_main_loop_run(loop);
}