Remove Chrome OS reference in log in common code.
Seeing "Chrome OS Update Engine starting" in Android logcat might be
confusing, changed it to "A/B Update Engine".
Bug: 63666575
Test: mma
Change-Id: Ib1e18cea7b486b84fe6d958c4549bafb56fa2f8d
diff --git a/main.cc b/main.cc
index 0612c54..5cf53ce 100644
--- a/main.cc
+++ b/main.cc
@@ -166,7 +166,7 @@
"Don't daemon()ize; run in foreground.");
chromeos_update_engine::Terminator::Init();
- brillo::FlagHelper::Init(argc, argv, "Chromium OS Update Engine");
+ brillo::FlagHelper::Init(argc, argv, "A/B Update Engine");
// We have two logging flags "--logtostderr" and "--logtofile"; and the logic
// to choose the logging destination is:
@@ -179,7 +179,7 @@
if (!FLAGS_foreground)
PLOG_IF(FATAL, daemon(0, 0) == 1) << "daemon() failed";
- LOG(INFO) << "Chrome OS Update Engine starting";
+ LOG(INFO) << "A/B Update Engine starting";
// xz-embedded requires to initialize its CRC-32 table once on startup.
xz_crc32_init();
@@ -194,7 +194,6 @@
chromeos_update_engine::UpdateEngineDaemon update_engine_daemon;
int exit_code = update_engine_daemon.Run();
- LOG(INFO) << "Chrome OS Update Engine terminating with exit code "
- << exit_code;
+ LOG(INFO) << "A/B Update Engine terminating with exit code " << exit_code;
return exit_code;
}
diff --git a/update_engine_client.cc b/update_engine_client.cc
index 94253de..55206b2 100644
--- a/update_engine_client.cc
+++ b/update_engine_client.cc
@@ -297,7 +297,7 @@
// Boilerplate init commands.
base::CommandLine::Init(argc_, argv_);
- brillo::FlagHelper::Init(argc_, argv_, "Chromium OS Update Engine Client");
+ brillo::FlagHelper::Init(argc_, argv_, "A/B Update Engine Client");
// Ensure there are no positional arguments.
const vector<string> positional_args =