Android: Log client messages to stderr.
The error messages from the command line tool were only sent to the
system log.
Bug: None
TEST=`update_engine_client --cancel` prints the error in stderr.
Change-Id: Iaec2c614b55a6528c758d44ecb7900ef1d09ce9b
diff --git a/update_engine_client_android.cc b/update_engine_client_android.cc
index 5005da7..0193eed 100644
--- a/update_engine_client_android.cc
+++ b/update_engine_client_android.cc
@@ -138,7 +138,7 @@
bool keep_running = false;
- brillo::InitLog(brillo::kLogToSyslog);
+ brillo::InitLog(brillo::kLogToStderr);
android::status_t status = android::getService(
android::String16("android.os.UpdateEngineService"), &service_);
if (status != android::OK) {